Index: views/widget/root_view.cc |
diff --git a/views/widget/root_view.cc b/views/widget/root_view.cc |
index cdc44a89e0bb59dbf91b04fe1bb146a04934a153..ce9cc7a4eb33d92e7b0116c16659bfa88ff0c2a8 100644 |
--- a/views/widget/root_view.cc |
+++ b/views/widget/root_view.cc |
@@ -157,13 +157,11 @@ std::string RootView::GetClassName() const { |
} |
void RootView::SchedulePaintInRect(const gfx::Rect& rect) { |
-#if defined(COMPOSITOR_2) |
MarkTextureDirty(); |
SchedulePaintInternal(rect); |
} |
void RootView::SchedulePaintInternal(const gfx::Rect& rect) { |
-#endif |
gfx::Rect xrect = ConvertRectToParent(rect); |
gfx::Rect invalid_rect = GetLocalBounds().Intersect(xrect); |
if (!invalid_rect.IsEmpty()) |