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

Unified Diff: Source/bindings/core/v8/Dictionary.cpp

Issue 373613004: [ServiceWorker] Make Response class better conformance with the spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated falken's comment Created 6 years, 5 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: Source/bindings/core/v8/Dictionary.cpp
diff --git a/Source/bindings/core/v8/Dictionary.cpp b/Source/bindings/core/v8/Dictionary.cpp
index 7a8266a9e6fb1af2a43735e3ddf78adf9795e6b0..fe9162560683c86e6a4e2257a08d7d0a3fc2c7bc 100644
--- a/Source/bindings/core/v8/Dictionary.cpp
+++ b/Source/bindings/core/v8/Dictionary.cpp
@@ -43,7 +43,6 @@
#include "bindings/core/v8/custom/V8ArrayBufferViewCustom.h"
#include "bindings/core/v8/custom/V8Uint8ArrayCustom.h"
#include "bindings/modules/v8/V8Gamepad.h"
-#include "bindings/modules/v8/V8HeaderMap.h"
#include "bindings/modules/v8/V8Headers.h"
#include "bindings/modules/v8/V8IDBKeyRange.h"
#include "bindings/modules/v8/V8MIDIPort.h"
@@ -580,16 +579,6 @@ bool Dictionary::get(const String& key, Dictionary& value) const
return true;
}
-bool Dictionary::get(const String& key, RefPtr<HeaderMap>& value) const
-{
- v8::Local<v8::Value> v8Value;
- if (!getKey(key, v8Value))
- return false;
-
- value = V8HeaderMap::toNativeWithTypeCheck(m_isolate, v8Value);
- return true;
-}
-
bool Dictionary::get(const String& key, RefPtr<Headers>& value) const
{
v8::Local<v8::Value> v8Value;

Powered by Google App Engine
This is Rietveld 408576698