diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-16 18:16:01 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-16 18:16:01 +0000 |
commit | 524283de25962f9182fe37975c4245012f722b60 (patch) | |
tree | e5ef1720255f18b6d3836d8acdb26f3b09b296d2 /webkit/glue | |
parent | 63b8201d4abcbfcc9d27ce3b410e6206e19d64c5 (diff) | |
download | chromium_src-524283de25962f9182fe37975c4245012f722b60.zip chromium_src-524283de25962f9182fe37975c4245012f722b60.tar.gz chromium_src-524283de25962f9182fe37975c4245012f722b60.tar.bz2 |
Warn/error on "using namespace blah;" in headers on clang machines.
This adds about 25s to "make -j8" on linux. I have a few ideas on how to reduce runtime to compensate though.
BUG=carnitas
TEST=compiles
Review URL: http://codereview.chromium.org/6698051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78395 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r-- | webkit/glue/webvideoframe_impl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/webkit/glue/webvideoframe_impl.h b/webkit/glue/webvideoframe_impl.h index 0aca052..52f7f1f 100644 --- a/webkit/glue/webvideoframe_impl.h +++ b/webkit/glue/webvideoframe_impl.h @@ -8,14 +8,13 @@ #include "media/base/video_frame.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebVideoFrame.h" -using namespace WebKit; - namespace webkit_glue { -class WebVideoFrameImpl : public WebVideoFrame { +class WebVideoFrameImpl : public WebKit::WebVideoFrame { public: // This converts a WebKit::WebVideoFrame to a media::VideoFrame. - static media::VideoFrame* toVideoFrame(WebVideoFrame* web_video_frame); + static media::VideoFrame* toVideoFrame( + WebKit::WebVideoFrame* web_video_frame); WebVideoFrameImpl(scoped_refptr<media::VideoFrame> video_frame); virtual ~WebVideoFrameImpl(); |