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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 2587913002: Rename activeDOMObjectsAreSuspended to isContextSuspended (Closed)
Patch Set: temp Created 4 years 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/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 290a52fdcc70ea9d4e5f7ff0eb1c4f2c8db195e9..574b9facda68c895fa1088852cf8b1fbd80dadec 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -3122,7 +3122,7 @@ bool LayoutObject::willRenderImage() {
return false;
// We will not render a new image when SuspendableObjects is suspended
- if (document().activeDOMObjectsAreSuspended())
+ if (document().isContextSuspended())
return false;
// If we're not in a window (i.e., we're dormant from being in a background

Powered by Google App Engine
This is Rietveld 408576698