Index: Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp |
index bb5558f8c3c93e269f4580741cdb7dd66b3555e1..b5f7ab037845b85a8c014c9286135232a85d4b00 100644 |
--- a/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/Source/core/workers/WorkerGlobalScope.cpp |
@@ -345,7 +345,7 @@ void WorkerGlobalScope::exceptionHandled(int exceptionId, bool isHandled) |
addConsoleMessage(consoleMessage.release()); |
} |
-bool WorkerGlobalScope::isPrivilegedContext(String& errorMessage, const PrivilegeContextCheck privilegeContextCheck) |
+bool WorkerGlobalScope::isPrivilegedContext(String& errorMessage, const PrivilegeContextCheck privilegeContextCheck) const |
{ |
// Until there are APIs that are available in workers and that |
// require a privileged context test that checks ancestors, just do |