| Index: third_party/WebKit/Source/core/paint/ThemePainterMac.mm
|
| diff --git a/third_party/WebKit/Source/core/paint/ThemePainterMac.mm b/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
|
| index 7424cb6ea3b01b25e1cf8730a5ac519210f490c3..d6a2a23c6d2911b53bb88d6b3acf5d6ff80c340e 100644
|
| --- a/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
|
| +++ b/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
|
| @@ -20,7 +20,6 @@
|
|
|
| #import "core/paint/ThemePainterMac.h"
|
|
|
| -#import "core/layout/LayoutMeter.h"
|
| #import "core/layout/LayoutProgress.h"
|
| #import "core/layout/LayoutThemeMac.h"
|
| #import "core/layout/LayoutView.h"
|
| @@ -191,21 +190,6 @@ bool ThemePainterMac::paintMenuList(const LayoutObject& o, const PaintInfo& pain
|
| return false;
|
| }
|
|
|
| -bool ThemePainterMac::paintMeter(const LayoutObject& layoutObject, const PaintInfo& paintInfo, const IntRect& rect)
|
| -{
|
| - if (!layoutObject.isMeter())
|
| - return true;
|
| -
|
| - LocalCurrentGraphicsContext localContext(paintInfo.context, &paintInfo.cullRect().m_rect, rect);
|
| -
|
| - NSLevelIndicatorCell* cell = m_layoutTheme.levelIndicatorFor(toLayoutMeter(layoutObject));
|
| - GraphicsContextStateSaver stateSaver(paintInfo.context);
|
| -
|
| - [cell drawWithFrame:rect inView:m_layoutTheme.documentViewFor(layoutObject)];
|
| - [cell setControlView:nil];
|
| - return false;
|
| -}
|
| -
|
| bool ThemePainterMac::paintProgressBar(const LayoutObject& layoutObject, const PaintInfo& paintInfo, const IntRect& rect)
|
| {
|
| if (!layoutObject.isProgress())
|
|
|