| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index fd50765a3d526faa0323d6805470ffd402e00f3a..c9092d404c61819019db9093503bc8261cad5f0c 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -315,10 +315,6 @@ public:
|
| {
|
| }
|
|
|
| - virtual ~ColorOverlay()
|
| - {
|
| - }
|
| -
|
| private:
|
| void paintPageOverlay(const PageOverlay& pageOverlay, GraphicsContext& graphicsContext, const WebSize& size) const override
|
| {
|
| @@ -4154,7 +4150,7 @@ void WebViewImpl::setPageOverlayColor(WebColor color)
|
| if (color == Color::transparent)
|
| return;
|
|
|
| - m_pageColorOverlay = PageOverlay::create(this, new ColorOverlay(color));
|
| + m_pageColorOverlay = PageOverlay::create(this, wrapUnique(new ColorOverlay(color)));
|
| m_pageColorOverlay->update();
|
| }
|
|
|
|
|