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

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

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
« no previous file with comments | « third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.h ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.cpp
diff --git a/third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.cpp b/third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.cpp
index 63623c5a74680009a970cd8465f9d82d494d0aa8..80cb8da7b9953f948ee274af30595647e00d4feb 100644
--- a/third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.cpp
+++ b/third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.cpp
@@ -277,9 +277,9 @@ int DOMWrapperWorld::GenerateWorldIdForType(WorldType world_type) {
case WorldType::kInspectorIsolated: {
DCHECK(IsMainThread());
static int next_devtools_isolated_world_id =
- WorldId::kDevToolsFirstIsolatedWorldId;
+ IsolatedWorldId::kDevToolsFirstIsolatedWorldId;
if (next_devtools_isolated_world_id >
- WorldId::kDevToolsLastIsolatedWorldId)
+ IsolatedWorldId::kDevToolsLastIsolatedWorldId)
return WorldId::kInvalidWorldId;
return next_devtools_isolated_world_id++;
}
« no previous file with comments | « third_party/WebKit/Source/platform/bindings/DOMWrapperWorld.h ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698