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

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

Issue 1323443004: [DevTools] Clear DatabaseClient's pointer to InspectorDatabaseAgent on detach. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseClient.cpp
diff --git a/Source/modules/webdatabase/DatabaseClient.cpp b/Source/modules/webdatabase/DatabaseClient.cpp
index 529948c93feb051a485fb3504f0d7ca4d82bfdd4..1999abdf236ea55522174e4e90a8824e1c854225 100644
--- a/Source/modules/webdatabase/DatabaseClient.cpp
+++ b/Source/modules/webdatabase/DatabaseClient.cpp
@@ -70,7 +70,7 @@ void DatabaseClient::didOpenDatabase(Database* database, const String& domain, c
void DatabaseClient::setInspectorAgent(InspectorDatabaseAgent* agent)
{
- ASSERT(!m_inspectorAgent);
+ // TODO(dgozman): we should not set agent twice, but it's happening in OOPIF case.
m_inspectorAgent = agent;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698