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

Unified Diff: cc/test/fake_display_list_recording_source.cc

Issue 1452353002: Turn off computation of the interest rect in cc in synchronized paint mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/test/fake_display_list_recording_source.h ('k') | cc/test/solid_color_content_layer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_display_list_recording_source.cc
diff --git a/cc/test/fake_display_list_recording_source.cc b/cc/test/fake_display_list_recording_source.cc
index 9f792c74ed4236bd80ff1212068f9ade40076e68..c48859efd455c5756c5664e3cf7d4ac19408cee4 100644
--- a/cc/test/fake_display_list_recording_source.cc
+++ b/cc/test/fake_display_list_recording_source.cc
@@ -8,6 +8,10 @@
namespace cc {
+FakeDisplayListRecordingSource::FakeDisplayListRecordingSource()
+ : force_unsuitable_for_gpu_rasterization_(false),
+ playback_allowed_event_(nullptr) {}
+
bool FakeDisplayListRecordingSource::IsSuitableForGpuRasterization() const {
if (force_unsuitable_for_gpu_rasterization_)
return false;
« no previous file with comments | « cc/test/fake_display_list_recording_source.h ('k') | cc/test/solid_color_content_layer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698