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

Unified Diff: Source/modules/webdatabase/DatabaseTracker.cpp

Issue 941403002: Revert of Add task location information to ExecutionContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/webdatabase/DatabaseManager.cpp ('k') | Source/modules/webdatabase/SQLTransactionClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseTracker.cpp
diff --git a/Source/modules/webdatabase/DatabaseTracker.cpp b/Source/modules/webdatabase/DatabaseTracker.cpp
index 9df8c08842d606d07e7c698cc31322321f468403..ef66e99485eb54407f7e7a2c8e20c6a8a77f3365 100644
--- a/Source/modules/webdatabase/DatabaseTracker.cpp
+++ b/Source/modules/webdatabase/DatabaseTracker.cpp
@@ -43,7 +43,6 @@
#include "platform/weborigin/SecurityOriginHash.h"
#include "public/platform/Platform.h"
#include "public/platform/WebDatabaseObserver.h"
-#include "public/platform/WebTraceLocation.h"
#include "wtf/Assertions.h"
#include "wtf/StdLibExtras.h"
@@ -162,7 +161,7 @@
ExecutionContext* executionContext = database->databaseContext()->executionContext();
if (!executionContext->isContextThread())
- executionContext->postTask(FROM_HERE, NotifyDatabaseObserverOnCloseTask::create(database));
+ executionContext->postTask(NotifyDatabaseObserverOnCloseTask::create(database));
else
databaseClosed(database);
}
@@ -183,7 +182,7 @@
{
ExecutionContext* executionContext = database->databaseContext()->executionContext();
if (!executionContext->isContextThread())
- executionContext->postTask(FROM_HERE, NotifyDatabaseObserverOnCloseTask::create(database));
+ executionContext->postTask(NotifyDatabaseObserverOnCloseTask::create(database));
else
databaseClosed(database);
}
@@ -239,7 +238,7 @@
// We have to call closeImmediately() on the context thread.
for (DatabaseSet::iterator it = databaseSet->begin(); it != databaseSet->end(); ++it)
- (*it)->databaseContext()->executionContext()->postTask(FROM_HERE, CloseOneDatabaseImmediatelyTask::create(originIdentifier, name, *it));
+ (*it)->databaseContext()->executionContext()->postTask(CloseOneDatabaseImmediatelyTask::create(originIdentifier, name, *it));
}
void DatabaseTracker::closeOneDatabaseImmediately(const String& originIdentifier, const String& name, Database* database)
« no previous file with comments | « Source/modules/webdatabase/DatabaseManager.cpp ('k') | Source/modules/webdatabase/SQLTransactionClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698