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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2869203002: Cleanup around LocalFrame initialization (Closed)
Patch Set: +test fix 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/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 3a3405765f541e37382f85300c8f763481c3ef8e..9da4114d62a04bb6d0469f719990ef3771f779a5 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -280,8 +280,6 @@ LocalFrame* LocalFrame::Create(LocalFrameClient* client,
}
void LocalFrame::Init() {
- // Initialization code needs to run first as the call to m_loader.init() can
- // actually lead to this object being freed!
DCHECK(!GetInitializationVector().IsEmpty());
for (auto& initilization_callback : GetInitializationVector()) {
initilization_callback(this);

Powered by Google App Engine
This is Rietveld 408576698