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

Unified Diff: third_party/WebKit/Source/core/page/NetworkStateNotifierTest.cpp

Issue 2110363002: Rename SameThreadClosure to Closure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_ExplicitWTFBind
Patch Set: Add WTF:: to Closure Created 4 years, 6 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
Index: third_party/WebKit/Source/core/page/NetworkStateNotifierTest.cpp
diff --git a/third_party/WebKit/Source/core/page/NetworkStateNotifierTest.cpp b/third_party/WebKit/Source/core/page/NetworkStateNotifierTest.cpp
index 06617ddc2c72730bdd6e09bbae741e9d20f90b74..aa40e9d2e616c2fb2cd1a71ddb6b9c3434898fe8 100644
--- a/third_party/WebKit/Source/core/page/NetworkStateNotifierTest.cpp
+++ b/third_party/WebKit/Source/core/page/NetworkStateNotifierTest.cpp
@@ -80,13 +80,13 @@ public:
return m_callbackCount;
}
- void setNotificationCallback(std::unique_ptr<SameThreadClosure> closure)
+ void setNotificationCallback(std::unique_ptr<WTF::Closure> closure)
{
m_closure = std::move(closure);
}
private:
- std::unique_ptr<SameThreadClosure> m_closure;
+ std::unique_ptr<WTF::Closure> m_closure;
WebConnectionType m_observedType;
double m_observedMaxBandwidthMbps;
int m_callbackCount;

Powered by Google App Engine
This is Rietveld 408576698