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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLSrcsetParserTest.cpp

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff Created 4 years, 10 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: third_party/WebKit/Source/core/html/parser/HTMLSrcsetParserTest.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParserTest.cpp b/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParserTest.cpp
index 86586eaeb47d8ecf4363e6c16e7676f9fd6dc256..5829e7be39a149db8f11cadd0201819eff170aca 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParserTest.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParserTest.cpp
@@ -23,7 +23,7 @@ TEST(ImageCandidateTest, Basic)
{
ImageCandidate candidate;
ASSERT_EQ(candidate.density(), 1);
- ASSERT_EQ(candidate.resourceWidth(), -1);
+ ASSERT_EQ(candidate.getResourceWidth(), -1);
ASSERT_EQ(candidate.srcOrigin(), false);
}
@@ -120,7 +120,7 @@ TEST(HTMLSrcsetParserTest, Basic)
TestCase test = testCases[i];
ImageCandidate candidate = bestFitSourceForImageAttributes(test.deviceScaleFactor, test.effectiveSize, test.srcInput, test.srcsetInput);
ASSERT_EQ(test.outputDensity, candidate.density());
- ASSERT_EQ(test.outputResourceWidth, candidate.resourceWidth());
+ ASSERT_EQ(test.outputResourceWidth, candidate.getResourceWidth());
ASSERT_STREQ(test.outputURL, candidate.toString().ascii().data());
}
}

Powered by Google App Engine
This is Rietveld 408576698