cc: Save correct frame begin time to FrameRateCounter

This change passes the frame begin time from RenderWidget::DoDeferredUpdate()
in single threaded compositing and the vsync tick time from cc::FrameRateController
in threaded compositing into the FrameRateCounter.

BUG=


Review URL: https://chromiumcodereview.appspot.com/12804006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188452 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h
index e2261da..323f398 100644
--- a/cc/layer_tree_host_impl.h
+++ b/cc/layer_tree_host_impl.h
@@ -135,7 +135,7 @@
   // must also be called, regardless of whether DrawLayers is called between the
   // two.
   virtual bool PrepareToDraw(FrameData* frame);
-  virtual void DrawLayers(FrameData* frame);
+  virtual void DrawLayers(FrameData* frame, base::TimeTicks frame_begin_time);
   // Must be called if and only if PrepareToDraw was called.
   void DidDrawAllLayers(const FrameData& frame);