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

Unified Diff: cc/test/fake_output_surface_client.cc

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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_client.cc
diff --git a/cc/test/fake_output_surface_client.cc b/cc/test/fake_output_surface_client.cc
index 075db20a6edf1c490482608141ab6f9a192d970d..6befef1a65eaeb0168dabb01a49e1451439658ea 100644
--- a/cc/test/fake_output_surface_client.cc
+++ b/cc/test/fake_output_surface_client.cc
@@ -7,6 +7,11 @@
namespace cc {
+FakeOutputSurfaceClient::FakeOutputSurfaceClient()
+ : swap_count_(0),
+ did_lose_output_surface_called_(false),
+ memory_policy_(0) {}
+
void FakeOutputSurfaceClient::DidSwapBuffers() {
swap_count_++;
}

Powered by Google App Engine
This is Rietveld 408576698