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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2DTest.cpp

Issue 1171323003: Fix unit test style in core/{dom,editing,html}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: whitespace fix Created 5 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/core/html/canvas/CanvasRenderingContext2DTest.cpp
diff --git a/Source/core/html/canvas/CanvasRenderingContext2DTest.cpp b/Source/core/html/canvas/CanvasRenderingContext2DTest.cpp
index e0139718626e1c02b6d7c3b59af90cef813ad52c..80399403e728073132bc9a8bd82d88a492b20ebc 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2DTest.cpp
+++ b/Source/core/html/canvas/CanvasRenderingContext2DTest.cpp
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "config.h"
-
#include "core/html/canvas/CanvasRenderingContext2D.h"
#include "core/frame/FrameView.h"
@@ -23,10 +22,9 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
-using namespace blink;
using ::testing::Mock;
-namespace {
+namespace blink {
enum BitmapOpacity {
OpaqueBitmap,
@@ -73,7 +71,7 @@ PassRefPtr<Image> FakeImageSource::getSourceImageForCanvas(SourceImageMode, Sour
class CanvasRenderingContext2DTest : public ::testing::Test {
protected:
CanvasRenderingContext2DTest();
- virtual void SetUp() override;
+ void SetUp() override;
DummyPageHolder& page() const { return *m_dummyPageHolder; }
HTMLDocument& document() const { return *m_document; }
@@ -604,4 +602,4 @@ TEST_F(CanvasRenderingContext2DTest, CanvasObserver)
canvasElement().removeObserver(observer.get());
}
-} // unnamed namespace
+} // namespace blink
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp ('k') | Source/core/html/forms/FileInputTypeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698