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

Unified Diff: fpdfsdk/src/fsdk_baseform_embeddertest.cpp

Issue 1737593006: Re-land "Replace CPDF_Rect and CPDF_Point with CFX types." (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Ooops. 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
« no previous file with comments | « fpdfsdk/src/fsdk_baseform.cpp ('k') | fpdfsdk/src/fsdk_mgr.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/src/fsdk_baseform_embeddertest.cpp
diff --git a/fpdfsdk/src/fsdk_baseform_embeddertest.cpp b/fpdfsdk/src/fsdk_baseform_embeddertest.cpp
index 109b22f3b56f258da0b0bf2562a11748faba1656..4fd3bb785cc9908cab542723895feb30f81a27da 100644
--- a/fpdfsdk/src/fsdk_baseform_embeddertest.cpp
+++ b/fpdfsdk/src/fsdk_baseform_embeddertest.cpp
@@ -13,7 +13,7 @@
namespace {
-void CheckRect(const CPDF_Rect& actual, const CPDF_Rect& expected) {
+void CheckRect(const CFX_FloatRect& actual, const CFX_FloatRect& expected) {
EXPECT_EQ(expected.left, actual.left);
EXPECT_EQ(expected.bottom, actual.bottom);
EXPECT_EQ(expected.right, actual.right);
@@ -30,10 +30,10 @@ TEST_F(FSDKBaseFormEmbeddertest, CBA_AnnotIterator) {
EXPECT_TRUE(LoadPage(1));
EXPECT_TRUE(LoadPage(2));
- CPDF_Rect LeftBottom(200, 200, 220, 220);
- CPDF_Rect RightBottom(400, 201, 420, 221);
- CPDF_Rect LeftTop(201, 400, 221, 420);
- CPDF_Rect RightTop(401, 401, 421, 421);
+ CFX_FloatRect LeftBottom(200, 200, 220, 220);
+ CFX_FloatRect RightBottom(400, 201, 420, 221);
+ CFX_FloatRect LeftTop(201, 400, 221, 420);
+ CFX_FloatRect RightTop(401, 401, 421, 421);
CPDFSDK_Document* pSDKDoc =
CPDFSDK_Document::FromFPDFFormHandle(form_handle());
« no previous file with comments | « fpdfsdk/src/fsdk_baseform.cpp ('k') | fpdfsdk/src/fsdk_mgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698