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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase error. Created 5 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/css/resolver/StyleAdjuster.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
index ff610fc7505eb5cb88eae2596ef7f27a8ba0df42..9d584a4a6caa665d2a41eeffbbe769a7faa1e1e8 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
@@ -49,6 +49,7 @@
#include "core/svg/SVGSVGElement.h"
#include "platform/Length.h"
#include "platform/transforms/TransformOperations.h"
+#include "public/platform/WebCompositorMutableProperties.h"
#include "wtf/Assertions.h"
namespace blink {
@@ -181,6 +182,9 @@ void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyl
adjustStyleForFirstLetter(style);
}
+ if (element && element->hasCompositorProxy())
+ style.setHasCompositorProxy(true);
+
// Make sure our z-index value is only applied if the object is positioned.
if (style.position() == StaticPosition && !parentStyleForcesZIndexToCreateStackingContext(parentStyle))
style.setHasAutoZIndex();
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/CompositorProxiedPropertySet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698