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

Unified Diff: third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.h

Issue 2873283002: [Reland] Allow headless TabSocket in isolated worlds & remove obsolete logic (Closed)
Patch Set: Fix GN Issue Created 3 years, 7 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/bindings/DOMWrapperWorld.h
diff --git a/third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.h b/third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.h
index fece5d71420841009c4097248af9c83586345dd5..3fd00389eaa5c7c114b0cd6ef7970b64452aba8e 100644
--- a/third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.h
+++ b/third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.h
@@ -39,6 +39,7 @@
#include "platform/wtf/PassRefPtr.h"
#include "platform/wtf/RefCounted.h"
#include "platform/wtf/RefPtr.h"
+#include "public/platform/WebIsolatedWorldIds.h"
#include "v8/include/v8.h"
namespace blink {
@@ -56,12 +57,8 @@ class PLATFORM_EXPORT DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
kInvalidWorldId = -1,
kMainWorldId = 0,
- // Embedder isolated worlds can use IDs in [1, 1<<29).
- kEmbedderWorldIdLimit = (1 << 29),
- kDocumentXMLTreeViewerWorldId,
- kDevToolsFirstIsolatedWorldId,
- kDevToolsLastIsolatedWorldId = kDevToolsFirstIsolatedWorldId + 100,
- kIsolatedWorldIdLimit,
+ kEmbedderWorldIdLimit = IsolatedWorldId::kEmbedderWorldIdLimit,
+ kIsolatedWorldIdLimit = IsolatedWorldId::kIsolatedWorldIdLimit,
// Other worlds can use IDs after this. Don't manually pick up an ID from
// this range. generateWorldIdForType() picks it up on behalf of you.

Powered by Google App Engine
This is Rietveld 408576698