Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h

Issue 2881393002: Count cross-origin property access. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h b/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h
index 92d907c22075a9aa506c2494147a4d1507ef90b8..8ee6d30672b9f599a88fa3775f50df85d0fb696d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h
+++ b/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.h
@@ -71,11 +71,6 @@ class CORE_EXPORT BindingSecurity {
static bool ShouldAllowAccessTo(const LocalDOMWindow* accessing_window,
const DOMWindow* target,
ErrorReportOption);
- // EventTarget (as the parent of DOMWindow)
- static bool ShouldAllowAccessTo(
- const LocalDOMWindow* accessing_window,
- const EventTarget* target,
- ExceptionState&); // NOLINT(readability/parameter_name)
Mike West 2017/05/16 14:54:31 This turns out to be dead code. And it was confusi
// Location
static bool ShouldAllowAccessTo(const LocalDOMWindow* accessing_window,
const Location* target,

Powered by Google App Engine
This is Rietveld 408576698