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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp

Issue 2824753005: Rename HostWindow to PlatformChromeClient (Closed)
Patch Set: mac Created 3 years, 8 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: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
index ecf9e80af8a36a30680fb5115223b52d77a1d4e0..4f2740e7fc331238ee2043fbb47c4d241ae1cad9 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
@@ -12,7 +12,7 @@
#include "core/paint/FindPaintOffsetAndVisualRectNeedingUpdate.h"
#include "core/paint/PaintInvalidator.h"
#include "core/paint/PaintLayer.h"
-#include "platform/HostWindow.h"
+#include "platform/PlatformChromeClient.h"
#include "platform/graphics/GraphicsLayer.h"
namespace blink {
@@ -297,8 +297,8 @@ static void InvalidatePaintRectangleOnWindow(
if (paint_rect.IsEmpty())
return;
- if (HostWindow* window = frame_view->GetHostWindow())
- window->InvalidateRect(frame_view->ContentsToRootFrame(paint_rect));
+ if (PlatformChromeClient* client = frame_view->GetChromeClient())
+ client->InvalidateRect(frame_view->ContentsToRootFrame(paint_rect));
}
void ObjectPaintInvalidator::SetBackingNeedsPaintInvalidationInRect(

Powered by Google App Engine
This is Rietveld 408576698