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

Unified Diff: Source/core/rendering/RenderWidget.cpp

Issue 318803002: Rename Repaint to Paint Invalidation part 3 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 6 years, 6 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
Index: Source/core/rendering/RenderWidget.cpp
diff --git a/Source/core/rendering/RenderWidget.cpp b/Source/core/rendering/RenderWidget.cpp
index d31cf80e356ed25f0cfd8b58ce95a06bc5e4af9f..e258a2da284072a6402a63b772bfcb4ede0451b8 100644
--- a/Source/core/rendering/RenderWidget.cpp
+++ b/Source/core/rendering/RenderWidget.cpp
@@ -271,7 +271,7 @@ void RenderWidget::updateOnWidgetChange()
} else {
widget->show();
// FIXME: Why do we repaint in this case, but not the other?
- repaint();
+ invalidatePaint();
}
}

Powered by Google App Engine
This is Rietveld 408576698