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

Unified Diff: third_party/WebKit/Source/core/svg/SVGSVGElement.cpp

Issue 2809733003: Move most of FrameLoader::CheckCompleted() to Document (Closed)
Patch Set: Fix failing android test Created 3 years, 8 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/svg/SVGSVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
index 5a33e7b70c066e5f3dd83bdd89f9a896754433f1..7dd63702bf9145e1e99ae6d1d03cc74b64f018ae 100644
--- a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
@@ -504,8 +504,8 @@ Node::InsertionNotificationRequest SVGSVGElement::InsertedInto(
// the load event, but if we miss that train (deferred programmatic
// element insertion for example) we need to initialize the time container
// here.
- if (!GetDocument().Parsing() && !GetDocument().ProcessingLoadEvent() &&
- GetDocument().LoadEventFinished() && !TimeContainer()->IsStarted())
+ if (!GetDocument().Parsing() && GetDocument().LoadEventFinished() &&
+ !TimeContainer()->IsStarted())
TimeContainer()->Start();
}
}

Powered by Google App Engine
This is Rietveld 408576698