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

Unified Diff: Source/web/WebCryptoNormalize.cpp

Issue 468083003: Cleanup namespace usage in Source/web/Web[A-H]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing Created 6 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 | « Source/web/WebColorSuggestion.cpp ('k') | Source/web/WebCustomElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebCryptoNormalize.cpp
diff --git a/Source/web/WebCryptoNormalize.cpp b/Source/web/WebCryptoNormalize.cpp
index 23479fd9ea49baf470fd3e5efbeb76403a8fbd48..0fb8a52f8f2e66e4c8583e5c43af4e3e2d812809 100644
--- a/Source/web/WebCryptoNormalize.cpp
+++ b/Source/web/WebCryptoNormalize.cpp
@@ -38,20 +38,17 @@
#include "public/platform/WebString.h"
#include <v8.h>
-using namespace blink;
-
namespace blink {
-
WebCryptoAlgorithm normalizeCryptoAlgorithm(v8::Handle<v8::Object> algorithmObject, WebCryptoOperation operation, int* exceptionCode, WebString* errorDetails, v8::Isolate* isolate)
{
- blink::Dictionary algorithmDictionary(algorithmObject, isolate);
+ Dictionary algorithmDictionary(algorithmObject, isolate);
if (!algorithmDictionary.isUndefinedOrNull() && !algorithmDictionary.isObject())
return WebCryptoAlgorithm();
WebCryptoAlgorithm algorithm;
- blink::AlgorithmError error;
+ AlgorithmError error;
if (!normalizeAlgorithm(algorithmDictionary, operation, algorithm, &error)) {
- *exceptionCode = blink::webCryptoErrorToExceptionCode(error.errorType);
+ *exceptionCode = webCryptoErrorToExceptionCode(error.errorType);
*errorDetails = error.errorDetails;
return WebCryptoAlgorithm();
}
« no previous file with comments | « Source/web/WebColorSuggestion.cpp ('k') | Source/web/WebCustomElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698