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

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

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/bindings/core/v8/DictionaryHelperForBindings.h ('k') | Source/bindings/core/v8/ExceptionMessages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/DictionaryHelperForCore.cpp
diff --git a/Source/bindings/core/v8/DictionaryHelperForCore.cpp b/Source/bindings/core/v8/DictionaryHelperForCore.cpp
index 10053bcb5af55c8cd7a586daa543049fc0c65fa2..dc872c6d5e129a1df9fc5d1439d05f6fe2339fc4 100644
--- a/Source/bindings/core/v8/DictionaryHelperForCore.cpp
+++ b/Source/bindings/core/v8/DictionaryHelperForCore.cpp
@@ -45,7 +45,7 @@
#include "core/html/track/TrackBase.h"
#include "wtf/MathExtras.h"
-namespace WebCore {
+namespace blink {
template <>
bool DictionaryHelper::get(const Dictionary& dictionary, const String& key, v8::Local<v8::Value>& value)
@@ -273,7 +273,7 @@ bool DictionaryHelper::get(const Dictionary& dictionary, const String& key, Mess
ASSERT(dictionary.isolate());
ASSERT(dictionary.isolate() == v8::Isolate::GetCurrent());
- if (WebCore::isUndefinedOrNull(v8Value))
+ if (blink::isUndefinedOrNull(v8Value))
return true;
bool success = false;
value = toRefPtrWillBeMemberNativeArray<MessagePort, V8MessagePort>(v8Value, key, dictionary.isolate(), &success);
@@ -312,7 +312,7 @@ bool DictionaryHelper::convert(const Dictionary& dictionary, Dictionary::Convers
if (!dictionary.get(key, v8Value))
return true;
- if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value))
+ if (context.isNullable() && blink::isUndefinedOrNull(v8Value))
return true;
if (!v8Value->IsArray()) {
@@ -399,7 +399,7 @@ bool DictionaryHelper::convert(const Dictionary& dictionary, Dictionary::Convers
if (!dictionary.get(key, v8Value))
return true;
- if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value))
+ if (context.isNullable() && blink::isUndefinedOrNull(v8Value))
return true;
if (!v8Value->IsArray()) {
@@ -435,7 +435,7 @@ bool DictionaryHelper::convert(const Dictionary& dictionary, Dictionary::Convers
if (!dictionary.get(key, v8Value))
return true;
- if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value))
+ if (context.isNullable() && blink::isUndefinedOrNull(v8Value))
return true;
if (!v8Value->IsArray()) {
@@ -607,7 +607,7 @@ bool DictionaryHelper::convert(const Dictionary& dictionary, Dictionary::Convers
if (!dictionary.get(key, v8Value))
return true;
- if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) {
+ if (context.isNullable() && blink::isUndefinedOrNull(v8Value)) {
value = Nullable<T>();
return true;
}
@@ -652,4 +652,4 @@ bool DictionaryHelper::convert(const Dictionary& dictionary, Dictionary::Convers
return DictionaryHelper::get(dictionary, key, value);
}
-} // namespace WebCore
+} // namespace blink
« no previous file with comments | « Source/bindings/core/v8/DictionaryHelperForBindings.h ('k') | Source/bindings/core/v8/ExceptionMessages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698