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

Unified Diff: cc/layers/picture_layer.h

Issue 2185973005: cc: Move solid color scrollbar layer data in a seperate struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: .. Created 4 years, 5 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/layer_unittest.cc ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer.h
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
index 447a936be981de3302a485e4d2ff0f2ec9a73db0..ca7995ed0f23dc6df2606aeae4aed8ce1596fc08 100644
--- a/cc/layers/picture_layer.h
+++ b/cc/layers/picture_layer.h
@@ -37,7 +37,7 @@ class CC_EXPORT PictureLayer : public Layer {
void RunMicroBenchmark(MicroBenchmark* benchmark) override;
- ContentLayerClient* client() { return inputs_.client; }
+ ContentLayerClient* client() { return picture_layer_inputs_.client; }
RecordingSource* GetRecordingSourceForTesting() {
return recording_source_.get();
@@ -73,12 +73,12 @@ class CC_EXPORT PictureLayer : public Layer {
bool is_mask_;
// Encapsulates all data, callbacks or interfaces received from the embedder.
- struct Inputs {
+ struct PictureLayerInputs {
ContentLayerClient* client = nullptr;
bool nearest_neighbor = false;
};
- Inputs inputs_;
+ PictureLayerInputs picture_layer_inputs_;
DISALLOW_COPY_AND_ASSIGN(PictureLayer);
};
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698