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

Unified Diff: Source/core/loader/FrameLoader.h

Issue 495743003: Add an extra guard to replaceDocument() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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: Source/core/loader/FrameLoader.h
diff --git a/Source/core/loader/FrameLoader.h b/Source/core/loader/FrameLoader.h
index 3c33573d801b2ea8a3feaf676c1596cd9d29122c..0f61d3b111d9ef1c3c76c5d855e2828eed623b02 100644
--- a/Source/core/loader/FrameLoader.h
+++ b/Source/core/loader/FrameLoader.h
@@ -102,6 +102,7 @@ public:
bool closeURL();
// FIXME: clear() is trying to do too many things. We should break it down into smaller functions.
void clear();
+ void replaceDocument(const String& source, Document* ownerDocument);
dglazkov 2014/08/26 16:03:32 If it only has one intended callsite, let's name i
// Sets a timer to notify the client that the initial empty document has
// been accessed, and thus it is no longer safe to show a provisional URL

Powered by Google App Engine
This is Rietveld 408576698