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

Unified Diff: cc/layers/picture_layer.cc

Issue 664583002: Remove obsolete SkRecord preview code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update r&r micro, and format Created 6 years, 2 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 | « cc/layers/picture_layer.h ('k') | cc/layers/picture_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer.cc
diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc
index 7573471793aee200a35a853b880d15f5aa29b129..aee140f85294c96d6d414c9a1f253ea7be9a79a3 100644
--- a/cc/layers/picture_layer.cc
+++ b/cc/layers/picture_layer.cc
@@ -129,7 +129,7 @@ bool PictureLayer::Update(ResourceUpdateQueue* queue,
layer_size,
visible_layer_rect,
update_source_frame_number_,
- RecordingMode(),
+ Picture::RECORD_NORMALLY,
rendering_stats_instrumentation());
last_updated_visible_content_rect_ = visible_content_rect();
@@ -148,17 +148,6 @@ void PictureLayer::SetIsMask(bool is_mask) {
pile_->set_is_mask(is_mask);
}
-Picture::RecordingMode PictureLayer::RecordingMode() const {
- switch (layer_tree_host()->settings().recording_mode) {
- case LayerTreeSettings::RecordNormally:
- return Picture::RECORD_NORMALLY;
- case LayerTreeSettings::RecordWithSkRecord:
- return Picture::RECORD_WITH_SKRECORD;
- }
- NOTREACHED();
- return Picture::RECORD_NORMALLY;
-}
-
bool PictureLayer::SupportsLCDText() const {
return true;
}
« no previous file with comments | « cc/layers/picture_layer.h ('k') | cc/layers/picture_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698