Commit e249265b authored by bratell's avatar bratell Committed by Commit Bot

Drop a "using namespace WTF" in V8CSSStyleDeclarationCustom.cpp

global "using namespace WTF" causes compiler warnings in jumbo builds
and in general extend the global namespace a lot which increases the
risk of symbol conflicts.

This patch changes a "using namespace WTF" to an explicit
WTF::CopePointCompareLessThan.
Review-Url: https://codereview.chromium.org/2975603002
Cr-Commit-Position: refs/heads/master@{#484938}
parent 89bc0736
...@@ -49,8 +49,6 @@ ...@@ -49,8 +49,6 @@
#include "platform/wtf/text/StringBuilder.h" #include "platform/wtf/text/StringBuilder.h"
#include "platform/wtf/text/StringConcatenate.h" #include "platform/wtf/text/StringConcatenate.h"
using namespace WTF;
namespace blink { namespace blink {
// Check for a CSS prefix. // Check for a CSS prefix.
...@@ -161,7 +159,7 @@ void V8CSSStyleDeclaration::namedPropertyEnumeratorCustom( ...@@ -161,7 +159,7 @@ void V8CSSStyleDeclaration::namedPropertyEnumeratorCustom(
property_names.push_back(getJSPropertyName(property_id)); property_names.push_back(getJSPropertyName(property_id));
} }
std::sort(property_names.begin(), property_names.end(), std::sort(property_names.begin(), property_names.end(),
CodePointCompareLessThan); WTF::CodePointCompareLessThan);
property_names_length = property_names.size(); property_names_length = property_names.size();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment