Index: Source/modules/webdatabase/InspectorDatabaseAgent.cpp |
diff --git a/Source/modules/webdatabase/InspectorDatabaseAgent.cpp b/Source/modules/webdatabase/InspectorDatabaseAgent.cpp |
index ade61ff32289acd9b6bfa18bd7a9470f456234be..7fb02271a8381328df5eb4dc0ea5d8af2c2b803a 100644 |
--- a/Source/modules/webdatabase/InspectorDatabaseAgent.cpp |
+++ b/Source/modules/webdatabase/InspectorDatabaseAgent.cpp |
@@ -205,14 +205,8 @@ void InspectorDatabaseAgent::didOpenDatabase(PassRefPtrWillBeRawPtr<Database> da |
resource->bind(m_frontend); |
} |
-void InspectorDatabaseAgent::didCommitLoad(LocalFrame* frame, DocumentLoader* loader) |
+void InspectorDatabaseAgent::didCommitLoadForMainFrame() |
{ |
- // FIXME: If "frame" is always guarenteed to be in the same Page as loader->frame() |
- // then all we need to check here is loader->frame()->isMainFrame() |
- // and we don't need "frame" at all. |
- if (loader->frame() != frame->page()->mainFrame()) |
- return; |
- |
m_resources.clear(); |
} |