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

Unified Diff: cc/test/fake_output_surface.cc

Issue 15836005: cc: Emulate BeginFrame in OutputSurfaces that don't support it natively (Closed) Base URL: http://git.chromium.org/chromium/src.git@nofrc
Patch Set: Created 7 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: cc/test/fake_output_surface.cc
diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc
index eae7169b90f6c904cf7dc7edbbd7e33f7d644eb9..7eb872ec606739cc13991cacd6255a3a5670d662 100644
--- a/cc/test/fake_output_surface.cc
+++ b/cc/test/fake_output_surface.cc
@@ -46,7 +46,7 @@ void FakeOutputSurface::SetNeedsBeginFrame(bool enable) {
}
void FakeOutputSurface::BeginFrame(base::TimeTicks frame_time) {
- client_->BeginFrame(frame_time);
+ BeginFrame(frame_time);
}
bool FakeOutputSurface::ForcedDrawToSoftwareDevice() const {
@@ -55,7 +55,7 @@ bool FakeOutputSurface::ForcedDrawToSoftwareDevice() const {
void FakeOutputSurface::SendFrameAck() {
CompositorFrameAck ack;
- client_->OnSendFrameToParentCompositorAck(ack);
+ OnSendFrameToParentCompositorAck(ack);
}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698