Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index d6af1bbed1cf65ccf62e393683c37a4068c1b55d..9482cefa86b0b5b57bc7dc12250bbc8602425846 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -1114,7 +1114,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
friend class internal::RootView; |
friend class FocusManager; |
friend class Widget; |
- friend class PaintLock; |
// Used to track a drag. RootView passes this into |
// ProcessMousePressed/Dragged. |
@@ -1238,11 +1237,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
// Accelerated painting ------------------------------------------------------ |
- // Disables painting during time critical operations. Used by PaintLock. |
- // TODO(vollick) Ideally, the widget would not dispatch paints into the |
- // hierarchy during time critical operations and this would not be needed. |
- void set_painting_enabled(bool enabled) { painting_enabled_ = enabled; } |
- |
// Creates the layer and related fields for this view. |
void CreateLayer(); |
@@ -1372,9 +1366,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
// Whether this view is enabled. |
bool enabled_; |
- // Whether this view is painting. |
- bool painting_enabled_; |
- |
// When this flag is on, a View receives a mouse-enter and mouse-leave event |
// even if a descendant View is the event-recipient for the real mouse |
// events. When this flag is turned on, and mouse moves from outside of the |