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

Unified Diff: Source/core/testing/Internals.cpp

Issue 486493002: Merge AcceleratedCompositingForOverflowScroll into PreferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-overflowscroll: imagefailure 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
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 837b199d1ee7865d9a6cdeeac4b9e23cea8f2cd7..8a33144270871cc1a8192232b1c9ec710fdb701d 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -1549,10 +1549,10 @@ bool Internals::isUnclippedDescendant(Element* element, ExceptionState& exceptio
return 0;
}
- // We used to compute isUnclippedDescendant only when acceleratedCompositingForOverflowScrollEnabled,
+ // We used to compute isUnclippedDescendant only when preferCompositingToLCDTextEnabled,
// but now we compute it all the time.
// FIXME: Remove this if statement and rebaseline the tests that make this assumption.
- if (!layer->compositor()->acceleratedCompositingForOverflowScrollEnabled())
+ if (!layer->compositor()->preferCompositingToLCDTextEnabled())
return false;
return layer->isUnclippedDescendant();
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698