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

Unified Diff: cc/playback/recording_source.cc

Issue 1864603003: Remove redundant layer size check in RecordingSource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/recording_source.cc
diff --git a/cc/playback/recording_source.cc b/cc/playback/recording_source.cc
index 4cd414c0bd177225b26fca507787e8de740330c0..fee770904a1badc57129963be5ad1438dc51521c 100644
--- a/cc/playback/recording_source.cc
+++ b/cc/playback/recording_source.cc
@@ -136,11 +136,8 @@ bool RecordingSource::UpdateAndExpandInvalidation(
ScopedRecordingSourceUpdateTimer timer;
bool updated = false;
- // TODO(chrishtr): delete this conditional once synchronized paint launches.
- if (size_ != layer_size) {
+ if (size_ != layer_size)
size_ = layer_size;
- updated = true;
- }
invalidation_.Swap(invalidation);
invalidation_.Clear();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698