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

Unified Diff: content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc

Issue 742683002: cc: Small BeginFrameArgs cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trying to upload again. Created 6 years, 1 month 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/single_thread_proxy.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc
diff --git a/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc b/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc
index 42dcd5b73d0ccd7bda4da454c7803beadefeac03..f657a66ff5bae3b83cb4f221504a1f82bc641a24 100644
--- a/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc
+++ b/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc
@@ -7,6 +7,7 @@
#include "cc/output/begin_frame_args.h"
#include "content/browser/android/in_process/synchronous_compositor_impl.h"
#include "content/public/browser/browser_thread.h"
+#include "ui/gfx/frame_time.h"
namespace content {
@@ -25,7 +26,10 @@ SynchronousCompositorExternalBeginFrameSource::
void SynchronousCompositorExternalBeginFrameSource::BeginFrame() {
DCHECK(CalledOnValidThread());
- CallOnBeginFrame(cc::BeginFrameArgs::CreateForSynchronousCompositor());
+ CallOnBeginFrame(cc::BeginFrameArgs::Create(
+ gfx::FrameTime::Now(), base::TimeTicks(),
+ cc::BeginFrameArgs::DefaultInterval(),
+ cc::BeginFrameArgs::SYNCHRONOUS));
}
void SynchronousCompositorExternalBeginFrameSource::SetCompositor(
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698