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

Unified Diff: Source/core/testing/NullExecutionContext.cpp

Issue 1136883003: Expose Document::isPrivilegedContext from WebDocument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « Source/core/testing/NullExecutionContext.h ('k') | Source/core/workers/WorkerGlobalScope.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/NullExecutionContext.cpp
diff --git a/Source/core/testing/NullExecutionContext.cpp b/Source/core/testing/NullExecutionContext.cpp
index 5eeb8c828e36bcaaee6fcf25352a8d175b26b6cf..c11a1592d3c9a1efaa5b018f2edee6e0918196ac 100644
--- a/Source/core/testing/NullExecutionContext.cpp
+++ b/Source/core/testing/NullExecutionContext.cpp
@@ -39,7 +39,7 @@ double NullExecutionContext::timerAlignmentInterval() const
return DOMTimer::visiblePageAlignmentInterval();
}
-bool NullExecutionContext::isPrivilegedContext(String& errorMessage, const PrivilegeContextCheck privilegeContextCheck)
+bool NullExecutionContext::isPrivilegedContext(String& errorMessage, const PrivilegeContextCheck privilegeContextCheck) const
{
return true;
}
« no previous file with comments | « Source/core/testing/NullExecutionContext.h ('k') | Source/core/workers/WorkerGlobalScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698