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

Unified Diff: Source/modules/push_messaging/PushManager.h

Issue 297513008: Decrease call sites of ScriptState::current() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/modules/imagebitmap/ImageBitmapFactories.cpp ('k') | Source/modules/push_messaging/PushManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/PushManager.h
diff --git a/Source/modules/push_messaging/PushManager.h b/Source/modules/push_messaging/PushManager.h
index 01e140e30d20f2a44c1d5f134db9921e1e23a7ae..7e5de9c372587dbe1a29a6eccfcb23d111079a0e 100644
--- a/Source/modules/push_messaging/PushManager.h
+++ b/Source/modules/push_messaging/PushManager.h
@@ -13,6 +13,7 @@ namespace WebCore {
class ExecutionContext;
class ScriptPromise;
+class ScriptState;
class PushManager FINAL : public GarbageCollectedFinalized<PushManager>, public ScriptWrappable {
public:
@@ -22,7 +23,7 @@ public:
}
virtual ~PushManager();
- ScriptPromise registerPushMessaging(ExecutionContext*, const String& senderId);
+ ScriptPromise registerPushMessaging(ScriptState*, const String& senderId);
void trace(Visitor*) { }
« no previous file with comments | « Source/modules/imagebitmap/ImageBitmapFactories.cpp ('k') | Source/modules/push_messaging/PushManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698