Index: Source/WebCore/inspector/InspectorDOMStorageAgent.cpp |
=================================================================== |
--- Source/WebCore/inspector/InspectorDOMStorageAgent.cpp (revision 145492) |
+++ Source/WebCore/inspector/InspectorDOMStorageAgent.cpp (working copy) |
@@ -1,6 +1,5 @@ |
/* |
* Copyright (C) 2010 Google Inc. All rights reserved. |
- * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -223,7 +222,7 @@ |
resource->bind(m_frontend); |
} |
-void InspectorDOMStorageAgent::didDispatchDOMStorageEvent(const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* securityOrigin, Page*) |
+void InspectorDOMStorageAgent::didDispatchDOMStorageEvent(const String&, const String&, const String&, StorageType storageType, SecurityOrigin* securityOrigin, Page*) |
{ |
if (!m_frontend || !m_enabled) |
return; |
@@ -233,14 +232,7 @@ |
if (id.isEmpty()) |
return; |
- if (key.isNull()) |
- m_frontend->domstorage()->domStorageItemsCleared(id); |
- else if (newValue.isNull()) |
- m_frontend->domstorage()->domStorageItemRemoved(id, key); |
- else if (oldValue.isNull()) |
- m_frontend->domstorage()->domStorageItemAdded(id, key, newValue); |
- else |
- m_frontend->domstorage()->domStorageItemUpdated(id, key, oldValue, newValue); |
+ m_frontend->domstorage()->domStorageUpdated(id); |
} |
void InspectorDOMStorageAgent::clearResources() |