summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-14 21:49:37 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-14 21:49:37 +0000
commit8a82c536e6aed717bdb179fa52d0a88f76c809b7 (patch)
treeac794953b5903274b474e21dde13a9d048e2b004 /webkit
parentbd917c83eba3fa9d4e637c71078073230b71ad90 (diff)
downloadchromium_src-8a82c536e6aed717bdb179fa52d0a88f76c809b7.zip
chromium_src-8a82c536e6aed717bdb179fa52d0a88f76c809b7.tar.gz
chromium_src-8a82c536e6aed717bdb179fa52d0a88f76c809b7.tar.bz2
Revert 167312 - Add CHECKs to diagnose a Pepper Flash crash.
Sometimes Flash receives a 0 device scale value, we would like to find out in what circumstances the renderer side would send such a value. This CL will be removed after it takes effect in one Canary build. BUG=156730 TEST=None Review URL: https://codereview.chromium.org/11360212 TBR=yzshen@chromium.org Review URL: https://codereview.chromium.org/11365267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167753 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/plugins/ppapi/ppapi_plugin_instance.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
index ee317b6d..ea2bbfd 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
@@ -821,14 +821,6 @@ void PluginInstance::ViewChanged(const gfx::Rect& position,
view_data_.rect = PP_FromGfxRect(position);
view_data_.clip_rect = PP_FromGfxRect(clip);
view_data_.device_scale = container_->deviceScaleFactor();
-
- // TODO(yzshen): For debugging crbug.com/156730. According to the crash
- // report, sometimes the plugin side receives a ViewData object with mostly
- // default values, e.g., device_scale is set to 0. We crash here to find out
- // in what circumstances the renderer side would send such a value.
- // Must be revomved on the next day.
- CHECK(view_data_.device_scale > 0.0f);
-
view_data_.css_scale = container_->pageZoomFactor() *
container_->pageScaleFactor();