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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 1166463004: Revert of Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index f5ec1e5e42ebd45c37ad32764eaacc1e6bc91fed..9ee5ef692eba5ebb73ebf3cee3f56c031157331b 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -60,7 +60,6 @@
#include "third_party/skia/include/core/SkMallocPixelRef.h"
#include "ui/android/window_android.h"
#include "ui/gfx/android/device_display_info.h"
-#include "ui/gfx/swap_result.h"
namespace content {
@@ -119,14 +118,13 @@
return command_buffer_proxy;
}
- void OnSwapBuffersCompleted(const std::vector<ui::LatencyInfo>& latency_info,
- gfx::SwapResult result) {
+ void OnSwapBuffersCompleted(
+ const std::vector<ui::LatencyInfo>& latency_info) {
RenderWidgetHostImpl::CompositorFrameDrawn(latency_info);
OutputSurface::OnSwapBuffersComplete();
}
- base::CancelableCallback<void(const std::vector<ui::LatencyInfo>&,
- gfx::SwapResult)>
+ base::CancelableCallback<void(const std::vector<ui::LatencyInfo>&)>
swap_buffers_completion_callback_;
scoped_refptr<base::MessageLoopProxy> main_thread_;

Powered by Google App Engine
This is Rietveld 408576698