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

Unified Diff: Source/web/tests/WebDocumentTest.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/tests/ViewportTest.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebDocumentTest.cpp
diff --git a/Source/web/tests/WebDocumentTest.cpp b/Source/web/tests/WebDocumentTest.cpp
index c1a3e9827c98d5a69b1bc96e823a899dc85e4dcd..7588424727cab1c7afb5b1a96cceb8c02ee76164 100644
--- a/Source/web/tests/WebDocumentTest.cpp
+++ b/Source/web/tests/WebDocumentTest.cpp
@@ -18,10 +18,10 @@
#include <gtest/gtest.h>
-using WebCore::Color;
-using WebCore::Document;
-using WebCore::HTMLElement;
-using WebCore::RenderStyle;
+using blink::Color;
+using blink::Document;
+using blink::HTMLElement;
+using blink::RenderStyle;
using blink::FrameTestHelpers::WebViewHelper;
using blink::WebDocument;
@@ -48,7 +48,7 @@ TEST(WebDocumentTest, InsertStyleSheet)
ASSERT(style);
// Inserted stylesheet not yet applied.
- ASSERT_EQ(Color(0, 0, 0), style->visitedDependentColor(WebCore::CSSPropertyColor));
+ ASSERT_EQ(Color(0, 0, 0), style->visitedDependentColor(blink::CSSPropertyColor));
// Apply inserted stylesheet.
coreDoc->updateRenderTreeIfNeeded();
@@ -57,7 +57,7 @@ TEST(WebDocumentTest, InsertStyleSheet)
ASSERT(style);
// Inserted stylesheet applied.
- ASSERT_EQ(Color(0, 128, 0), style->visitedDependentColor(WebCore::CSSPropertyColor));
+ ASSERT_EQ(Color(0, 128, 0), style->visitedDependentColor(blink::CSSPropertyColor));
}
}
« no previous file with comments | « Source/web/tests/ViewportTest.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698