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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp

Issue 2814643003: Remove FrameViewBase as base class of PluginView. (Closed)
Patch Set: Address final comments 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/platform/scroll/Scrollbar.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
index e794e1bc3c8203f6651cfe974f9001e6d4b8a5c9..c5a13867d623a261d3a18804605f82a3ebf2a1a8 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
@@ -158,8 +158,7 @@ void Scrollbar::Paint(GraphicsContext& context,
if (!cull_rect.IntersectsCullRect(FrameRect()))
return;
- if (!GetTheme().Paint(*this, context, cull_rect))
- FrameViewBase::Paint(context, cull_rect);
+ GetTheme().Paint(*this, context, cull_rect);
}
void Scrollbar::AutoscrollTimerFired(TimerBase*) {
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/Scrollbar.h ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698