Skip to content

Commit

Permalink
Merge pull request #1276 from brave/0.59.x-2799
Browse files Browse the repository at this point in the history
Issue 2799: Fix tab crash while resizing the devtools window.
  • Loading branch information
bsclifton authored Jan 9, 2019
2 parents d1ec24b + 6597ae6 commit d8d0367
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion renderer/brave_content_settings_observer_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
#include "third_party/blink/renderer/platform/bindings/script_state.h"

static bool AllowFingerprinting(blink::LocalFrame* frame) {
if (!frame) return true;
if (!frame || !frame->GetContentSettingsClient()) {
return true;
}
return frame->GetContentSettingsClient()->AllowFingerprinting(true);
}

Expand Down

0 comments on commit d8d0367

Please sign in to comment.