Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index 8c766f273da9ab0a291133710fed1a7e10b27968..74525200458415e93836061199d5e2221475ab4f 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -1252,31 +1252,6 @@ ThreadProxy::BeginMainFrameAndCommitState::BeginMainFrameAndCommitState() |
ThreadProxy::BeginMainFrameAndCommitState::~BeginMainFrameAndCommitState() {} |
-void ThreadProxy::AsValueInto(base::trace_event::TracedValue* state) const { |
- CompletionEvent completion; |
- { |
- DebugScopedSetMainThreadBlocked main_thread_blocked( |
- const_cast<ThreadProxy*>(this)); |
- scoped_refptr<base::trace_event::TracedValue> state_refptr(state); |
- Proxy::ImplThreadTaskRunner()->PostTask( |
- FROM_HERE, |
- base::Bind(&ThreadProxy::AsValueOnImplThread, |
- impl_thread_weak_ptr_, |
- &completion, |
- state_refptr)); |
- completion.Wait(); |
- } |
-} |
- |
-void ThreadProxy::AsValueOnImplThread( |
- CompletionEvent* completion, |
- base::trace_event::TracedValue* state) const { |
- state->BeginDictionary("layer_tree_host_impl"); |
- impl().layer_tree_host_impl->AsValueInto(state); |
- state->EndDictionary(); |
- completion->Signal(); |
-} |
- |
bool ThreadProxy::MainFrameWillHappenForTesting() { |
DCHECK(IsMainThread()); |
CompletionEvent completion; |