summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 20:56:18 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 20:56:18 +0000
commit33e3f1e8e41592bda0d8c27e48db5948209c1e3e (patch)
tree6fac9f3571ac080ecf29b63d44fe48fc2082dad2 /ppapi
parentb3be9aa95fd01d20c62fb0245b1a66fdcb479eac (diff)
downloadchromium_src-33e3f1e8e41592bda0d8c27e48db5948209c1e3e.zip
chromium_src-33e3f1e8e41592bda0d8c27e48db5948209c1e3e.tar.gz
chromium_src-33e3f1e8e41592bda0d8c27e48db5948209c1e3e.tar.bz2
Re-enabled PPAPI crash url for non-windows platforms.
When this is enabled for windows, we stop getting crash reports. See https://code.google.com/p/chromium/issues/detail?id=135480 BUG=135480 TEST= Review URL: https://chromiumcodereview.appspot.com/10736039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146199 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/proxy/ppb_flash_proxy.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/ppapi/proxy/ppb_flash_proxy.cc b/ppapi/proxy/ppb_flash_proxy.cc
index 0badfe7..df50196 100644
--- a/ppapi/proxy/ppb_flash_proxy.cc
+++ b/ppapi/proxy/ppb_flash_proxy.cc
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/time.h"
+#include "build/build_config.h"
#include "ppapi/c/dev/ppb_font_dev.h"
#include "ppapi/c/dev/ppb_var_deprecated.h"
#include "ppapi/c/pp_errors.h"
@@ -312,10 +313,12 @@ PP_Bool PPB_Flash_Proxy::SetCrashData(PP_Instance instance,
PP_Var value) {
switch (key) {
case PP_FLASHCRASHKEY_URL:
- // TODO(raymes): This may be breaking crash reporting, see:
+#if defined(OS_WIN)
+ // TODO(raymes): This may be breaking crash reporting on Windows, see:
// See https://code.google.com/p/chromium/issues/detail?id=135480.
// Disable temporarily.
return PP_FALSE;
+#endif
StringVar *url_string_var(StringVar::FromPPVar(value));
if (!url_string_var)