summaryrefslogtreecommitdiffstats
path: root/cc/debug
diff options
context:
space:
mode:
authorchrishtr <chrishtr@chromium.org>2016-02-10 22:22:46 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-11 06:23:55 +0000
commit4d0892b08c7f42a433a278c05498d7c6ddbe8eeb (patch)
treed3365ea4ef5bb5820f3aa4553f7d2613f653dc88 /cc/debug
parent8cd4ba37c503d3985a7075477cd3dd80916ab093 (diff)
downloadchromium_src-4d0892b08c7f42a433a278c05498d7c6ddbe8eeb.zip
chromium_src-4d0892b08c7f42a433a278c05498d7c6ddbe8eeb.tar.gz
chromium_src-4d0892b08c7f42a433a278c05498d7c6ddbe8eeb.tar.bz2
Never call GraphicsLayer::paint when fetching painted output from cc.
GraphicsLayer::paint may not be a no-op if there happened to be dirty layout or paint since the last time a synchronized paint occurred. BUG=585694 TBR=ajuma@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1690763003 Cr-Commit-Position: refs/heads/master@{#374864}
Diffstat (limited to 'cc/debug')
-rw-r--r--cc/debug/rasterize_and_record_benchmark.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/debug/rasterize_and_record_benchmark.cc b/cc/debug/rasterize_and_record_benchmark.cc
index 59d1665..3a49ab6 100644
--- a/cc/debug/rasterize_and_record_benchmark.cc
+++ b/cc/debug/rasterize_and_record_benchmark.cc
@@ -125,7 +125,7 @@ void RasterizeAndRecordBenchmark::RunOnLayer(PictureLayer* layer) {
mode_index < DisplayListRecordingSource::RECORDING_MODE_COUNT;
mode_index++) {
ContentLayerClient::PaintingControlSetting painting_control =
- ContentLayerClient::PAINTING_BEHAVIOR_NORMAL;
+ ContentLayerClient::PAINTING_BEHAVIOR_NORMAL_FOR_TEST;
switch (
static_cast<DisplayListRecordingSource::RecordingMode>(mode_index)) {
case DisplayListRecordingSource::RECORD_NORMALLY: