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

Unified Diff: Source/web/WebPluginScrollbarImpl.cpp

Issue 329183002: Removing "using" declarations that import names in the C++ Standard library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/web/WebPluginScrollbarImpl.cpp
diff --git a/Source/web/WebPluginScrollbarImpl.cpp b/Source/web/WebPluginScrollbarImpl.cpp
index eeb34af288cd8e3c9ec1a5d2f99af9df3e192a15..452a697f344caf181dd48501611dfbe55f86d7b1 100644
--- a/Source/web/WebPluginScrollbarImpl.cpp
+++ b/Source/web/WebPluginScrollbarImpl.cpp
@@ -41,7 +41,6 @@
#include "web/WebPluginContainerImpl.h"
#include "web/WebViewImpl.h"
-using namespace std;
using namespace WebCore;
namespace blink {
@@ -97,7 +96,7 @@ void WebPluginScrollbarImpl::getTickmarks(Vector<IntRect>& tickmarks) const
WebVector<WebRect> ticks;
m_client->getTickmarks(const_cast<WebPluginScrollbarImpl*>(this), &ticks);
tickmarks.resize(ticks.size());
- for (size_t i = 0; i < ticks.size(); ++i)
+ for (std::size_t i = 0; i < ticks.size(); ++i)
tickmarks[i] = ticks[i];
}

Powered by Google App Engine
This is Rietveld 408576698