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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h

Issue 2890953002: [SPv1] Always set a CompositorElementId on main graphics layers; use PaintLayer id. (Closed)
Patch Set: none 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/platform/graphics/CompositorMutableStateProvider.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h
index 7cd920bf8191bfd3b9ca8bc96251de4e3d039ac9..6dd31526e375fecd31e531fb3e8708b032412f17 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h
@@ -5,9 +5,10 @@
#ifndef CompositorMutableStateProvider_h
#define CompositorMutableStateProvider_h
-#include "platform/PlatformExport.h"
#include <cstdint>
#include <memory>
+#include "platform/PlatformExport.h"
+#include "platform/graphics/CompositorElementId.h"
namespace cc {
class LayerTreeImpl;
@@ -25,8 +26,7 @@ class PLATFORM_EXPORT CompositorMutableStateProvider {
CompositorMutableStateProvider(cc::LayerTreeImpl*, CompositorMutations*);
~CompositorMutableStateProvider();
- std::unique_ptr<CompositorMutableState> GetMutableStateFor(
- uint64_t element_id);
+ std::unique_ptr<CompositorMutableState> GetMutableStateFor(DOMNodeId);
private:
cc::LayerTreeImpl* tree_;

Powered by Google App Engine
This is Rietveld 408576698