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

Unified Diff: third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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/modules/fetch/CrossThreadHolder.h
diff --git a/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h b/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h
index 125a9595ac9f062dc130455b5d9f9035c1241e7f..ef7fe14bb18645391aa332a5d6373ef442678258 100644
--- a/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h
+++ b/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h
@@ -53,7 +53,7 @@ public:
// The bridge has already disappeared.
return;
}
- m_bridge->executionContext()->postTask(BLINK_FROM_HERE, createCrossThreadTask(&Bridge::runTask, m_bridge.get(), task));
+ m_bridge->getExecutionContext()->postTask(BLINK_FROM_HERE, createCrossThreadTask(&Bridge::runTask, m_bridge.get(), task));
}
~CrossThreadHolder()
@@ -121,16 +121,16 @@ private:
void runTask(PassOwnPtr<WTF::Function<void(T*, ExecutionContext*), WTF::CrossThreadAffinity>> task)
{
- ASSERT(executionContext()->isContextThread());
+ ASSERT(getExecutionContext()->isContextThread());
if (m_obj)
- (*task)(m_obj.get(), executionContext());
+ (*task)(m_obj.get(), getExecutionContext());
}
private:
// ActiveDOMObject
void stop() override
{
- ASSERT(executionContext()->isContextThread());
+ ASSERT(getExecutionContext()->isContextThread());
{
MutexLocker locker(m_mutex->mutex());
if (m_holder)

Powered by Google App Engine
This is Rietveld 408576698