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

Unified Diff: third_party/WebKit/Source/core/events/EventTarget.h

Issue 1417023006: bindings: Refactors BindingSecurity::shouldAllowAccessToXXX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the assertion condition. Created 5 years, 1 month 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/core/events/EventTarget.h
diff --git a/third_party/WebKit/Source/core/events/EventTarget.h b/third_party/WebKit/Source/core/events/EventTarget.h
index acd8940b4cc21dabea5232fb703fac77cebe0400..5f56ecb04adcf376f578f59ca61a2f76aede39e3 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.h
+++ b/third_party/WebKit/Source/core/events/EventTarget.h
@@ -125,6 +125,7 @@ public:
virtual ExecutionContext* executionContext() const = 0;
virtual Node* toNode();
+ virtual const LocalDOMWindow* toDOMWindow() const;
virtual LocalDOMWindow* toDOMWindow();
virtual MessagePort* toMessagePort();

Powered by Google App Engine
This is Rietveld 408576698