Index: third_party/WebKit/Source/platform/ContentSettingCallbacks.h |
diff --git a/third_party/WebKit/Source/platform/ContentSettingCallbacks.h b/third_party/WebKit/Source/platform/ContentSettingCallbacks.h |
index 2252aa751108894055fa3089c1e815a5b98716b1..52dd4c55bf3a41d31c106e8f4c904eb52f088acc 100644 |
--- a/third_party/WebKit/Source/platform/ContentSettingCallbacks.h |
+++ b/third_party/WebKit/Source/platform/ContentSettingCallbacks.h |
@@ -18,17 +18,17 @@ class PLATFORM_EXPORT ContentSettingCallbacks { |
USING_FAST_MALLOC(ContentSettingCallbacks); |
WTF_MAKE_NONCOPYABLE(ContentSettingCallbacks); |
public: |
- static PassOwnPtr<ContentSettingCallbacks> create(PassOwnPtr<Closure> allowed, PassOwnPtr<Closure> denied); |
+ static PassOwnPtr<ContentSettingCallbacks> create(PassOwnPtr<SameThreadClosure> allowed, PassOwnPtr<SameThreadClosure> denied); |
virtual ~ContentSettingCallbacks() { } |
void onAllowed() { (*m_allowed)(); } |
void onDenied() { (*m_denied)(); } |
private: |
- ContentSettingCallbacks(PassOwnPtr<Closure> allowed, PassOwnPtr<Closure> denied); |
+ ContentSettingCallbacks(PassOwnPtr<SameThreadClosure> allowed, PassOwnPtr<SameThreadClosure> denied); |
- OwnPtr<Closure> m_allowed; |
- OwnPtr<Closure> m_denied; |
+ OwnPtr<SameThreadClosure> m_allowed; |
+ OwnPtr<SameThreadClosure> m_denied; |
}; |
} // namespace blink |