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

Unified Diff: cc/layers/scrollbar_layer_impl.h

Issue 13065006: cc: Add DISALLOW_COPY_AND_ASSIGN where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add operator= for DrawingState back as well Created 7 years, 9 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/scrollbar_layer.h ('k') | cc/layers/solid_color_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/scrollbar_layer_impl.h
diff --git a/cc/layers/scrollbar_layer_impl.h b/cc/layers/scrollbar_layer_impl.h
index 7cf405b9304d8853aa27e9aa8301924b6b97c9e8..bf1cbe86e09b667b4196be6e1e012c257da4a5e0 100644
--- a/cc/layers/scrollbar_layer_impl.h
+++ b/cc/layers/scrollbar_layer_impl.h
@@ -100,6 +100,8 @@ class CC_EXPORT ScrollbarLayerImpl : public ScrollbarLayerImplBase {
private:
ScrollbarLayerImpl* owner_;
+
+ DISALLOW_COPY_AND_ASSIGN(Scrollbar);
};
virtual const char* LayerTypeAsString() const OVERRIDE;
@@ -143,6 +145,8 @@ class CC_EXPORT ScrollbarLayerImpl : public ScrollbarLayerImplBase {
bool enabled_;
bool is_custom_scrollbar_;
bool is_overlay_scrollbar_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerImpl);
};
} // namespace cc
« no previous file with comments | « cc/layers/scrollbar_layer.h ('k') | cc/layers/solid_color_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698