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

Unified Diff: cc/trees/thread_proxy.h

Issue 144463016: cc: add more devtools instrumentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: capitalized instrumentation functions name Created 6 years, 10 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 | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.h
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
index dadd2b4800c8fdffbb1072a57fc84e604f0ba24f..76d18f58d135cc78cca6dc5490f3f61603b2b72f 100644
--- a/cc/trees/thread_proxy.h
+++ b/cc/trees/thread_proxy.h
@@ -167,8 +167,7 @@ class ThreadProxy : public Proxy,
void BeginMainFrameAbortedOnImplThread(bool did_handle);
void RequestReadbackOnImplThread(ReadbackRequest* request);
void FinishAllRenderingOnImplThread(CompletionEvent* completion);
- void InitializeImplOnImplThread(CompletionEvent* completion,
- int layer_tree_host_id);
+ void InitializeImplOnImplThread(CompletionEvent* completion);
void SetLayerTreeHostClientReadyOnImplThread();
void SetVisibleOnImplThread(CompletionEvent* completion, bool visible);
void UpdateBackgroundAnimateTicking();
@@ -253,9 +252,11 @@ class ThreadProxy : public Proxy,
const MainThreadOrBlockedMainThread& blocked_main() const;
struct CompositorThreadOnly {
- explicit CompositorThreadOnly(ThreadProxy* proxy);
+ CompositorThreadOnly(ThreadProxy* proxy, int layer_tree_host_id);
~CompositorThreadOnly();
+ const int layer_tree_host_id;
+
// Copy of the main thread side contents texture manager for work
// that needs to be done on the compositor thread.
PrioritizedResourceManager* contents_texture_manager;
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698