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

Unified Diff: Source/web/InspectorOverlayImpl.cpp

Issue 1264483002: PageOverlays: Remove PageOverlayList (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/web/InspectorOverlayImpl.cpp
diff --git a/Source/web/InspectorOverlayImpl.cpp b/Source/web/InspectorOverlayImpl.cpp
index 3b54b28a091778109e4b3becf3416087e4fff98a..0c9e9c3d8af7fd4dbafa3f25ad77be75ef37d2a6 100644
--- a/Source/web/InspectorOverlayImpl.cpp
+++ b/Source/web/InspectorOverlayImpl.cpp
@@ -54,11 +54,6 @@
#include "web/WebViewImpl.h"
#include <v8.h>
-namespace OverlayZOrders {
-// Use 99 as a big z-order number so that highlight is above other overlays.
-static const int highlight = 99;
-}
-
namespace blink {
namespace {
@@ -178,7 +173,7 @@ void InspectorOverlayImpl::paintPageOverlay(WebGraphicsContext* context, const W
void InspectorOverlayImpl::invalidate()
{
- m_webViewImpl->addPageOverlay(this, OverlayZOrders::highlight);
+ m_webViewImpl->addPageOverlay(this);
}
void InspectorOverlayImpl::layout()

Powered by Google App Engine
This is Rietveld 408576698