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

Unified Diff: Source/core/dom/Document.h

Issue 307223002: Make sure we never pass a null Frame to Document::canNavigate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/frame/Frame.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index ac92aa97f5740338086d56515918beded2ee7efd..29d65624f1a5506315af4609d2da4025d336c835 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -579,7 +579,7 @@ public:
virtual String userAgent(const KURL&) const OVERRIDE FINAL;
virtual void disableEval(const String& errorMessage) OVERRIDE FINAL;
- bool canNavigate(Frame* targetFrame);
+ bool canNavigate(const Frame& targetFrame);
LocalFrame* findUnsafeParentScrollPropagationBoundary();
CSSStyleSheet& elementSheet();
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/frame/Frame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698