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

Unified Diff: android_webview/browser/compositor_frame_consumer.h

Issue 2036023002: Rewire Android WebView's compositor changed signal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use web_contents_ Created 4 years, 6 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 | « android_webview/browser/child_frame.cc ('k') | android_webview/browser/compositor_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/compositor_frame_consumer.h
diff --git a/android_webview/browser/compositor_frame_consumer.h b/android_webview/browser/compositor_frame_consumer.h
index 311186800268823d730557baa29c73212750f488..83414026311dd849bf581253370ac50b91f8fd4f 100644
--- a/android_webview/browser/compositor_frame_consumer.h
+++ b/android_webview/browser/compositor_frame_consumer.h
@@ -7,6 +7,7 @@
#include <map>
+#include "android_webview/browser/compositor_id.h"
#include "android_webview/browser/parent_compositor_draw_constraints.h"
#include "cc/resources/returned_resource.h"
#include "ui/gfx/geometry/vector2d.h"
@@ -25,7 +26,8 @@ class CompositorFrameConsumer {
uint32_t output_surface_id;
cc::ReturnedResourceArray resources;
};
- using ReturnedResourcesMap = std::map<uint32_t, ReturnedResources>;
+ using ReturnedResourcesMap =
+ std::map<CompositorID, ReturnedResources, CompositorIDComparator>;
// A CompositorFrameConsumer may be registered with at most one
// CompositorFrameProducer.
« no previous file with comments | « android_webview/browser/child_frame.cc ('k') | android_webview/browser/compositor_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698