| Index: chrome/browser/ui/views/wrench_menu.cc
|
| diff --git a/chrome/browser/ui/views/wrench_menu.cc b/chrome/browser/ui/views/wrench_menu.cc
|
| index 7e7023a86795bdc227fbdc7b4aaaf5250cdd809b..9094a9e2e1def3ac436b37cf0b8da963f24606bc 100644
|
| --- a/chrome/browser/ui/views/wrench_menu.cc
|
| +++ b/chrome/browser/ui/views/wrench_menu.cc
|
| @@ -234,15 +234,6 @@ class ScheduleAllView : public views::View {
|
| public:
|
| ScheduleAllView() {}
|
|
|
| -#if !defined(COMPOSITOR_2)
|
| - virtual void SchedulePaintInRect(const gfx::Rect& r) {
|
| - if (!IsVisible())
|
| - return;
|
| -
|
| - if (parent())
|
| - parent()->SchedulePaintInRect(GetMirroredBounds());
|
| - }
|
| -#else
|
| virtual void SchedulePaintInRect(const gfx::Rect& r) {
|
| View::SchedulePaintInRect(gfx::Rect(0, 0, width(), height()));
|
| }
|
| @@ -250,7 +241,6 @@ class ScheduleAllView : public views::View {
|
| virtual void SchedulePaintInternal(const gfx::Rect& r) {
|
| View::SchedulePaintInternal(gfx::Rect(0, 0, width(), height()));
|
| }
|
| -#endif
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(ScheduleAllView);
|
|
|