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

Unified Diff: chrome/test/data/nacl/ppapi/ppp_instance/ppapi_ppp_instance.cc

Issue 2127213002: Avoid lossy effects of rounding by using contentBoxRect directly for plugin bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 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 | « no previous file | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/nacl/ppapi/ppp_instance/ppapi_ppp_instance.cc
diff --git a/chrome/test/data/nacl/ppapi/ppp_instance/ppapi_ppp_instance.cc b/chrome/test/data/nacl/ppapi/ppp_instance/ppapi_ppp_instance.cc
index d949469b2e3862dee7cc5f874e0d0410bbe7024b..74392710b2a5e1df53e0926e1b81c151c63a1a7b 100644
--- a/chrome/test/data/nacl/ppapi/ppp_instance/ppapi_ppp_instance.cc
+++ b/chrome/test/data/nacl/ppapi/ppp_instance/ppapi_ppp_instance.cc
@@ -49,9 +49,8 @@ void DidChangeView(PP_Instance instance, PP_Resource view) {
// These are based on embed dimensions.
PP_Rect position;
PPBView()->GetRect(view, &position);
- fprintf(stderr, "clip.size.height: %d\n", clip.size.height);
EXPECT(position.size.width == 15 && clip.size.width == 15);
- EXPECT(position.size.height == 20 && clip.size.height == 21);
+ EXPECT(position.size.height == 20 && clip.size.height == 20);
TEST_PASSED;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698