diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-03 02:44:36 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-03 02:44:36 +0000 |
commit | c505de2b23a6a9b1c38d84cdc301dd6e2a71a9b4 (patch) | |
tree | b63ba9331e6c95c401e368d6530ca6e3c17f6da4 /webkit | |
parent | 47c6907ccd508bd7d914e9c783d4b06640986165 (diff) | |
download | chromium_src-c505de2b23a6a9b1c38d84cdc301dd6e2a71a9b4.zip chromium_src-c505de2b23a6a9b1c38d84cdc301dd6e2a71a9b4.tar.gz chromium_src-c505de2b23a6a9b1c38d84cdc301dd6e2a71a9b4.tar.bz2 |
mac: build fix.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19892 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/tools/npapi_layout_test_plugin/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/tools/npapi_layout_test_plugin/main.cpp b/webkit/tools/npapi_layout_test_plugin/main.cpp index 7b79b08..fbd9b82 100644 --- a/webkit/tools/npapi_layout_test_plugin/main.cpp +++ b/webkit/tools/npapi_layout_test_plugin/main.cpp @@ -372,6 +372,12 @@ int16 NPP_HandleEvent(NPP instance, void *event) fflush(stdout); #else + +#ifdef MAC_EVENT_CODE_DISABLED_DUE_TO_ERRORS +// This code apparently never built on Mac, but Mac was previously +// using the Linux branch. It doesn't quite build. +// warning: 'GlobalToLocal' is deprecated (declared at +// .../Frameworks/QD.framework/Headers/QuickdrawAPI.h:2181) EventRecord* evt = static_cast<EventRecord*>(event); Point pt = { evt->where.v, evt->where.h }; switch (evt->what) { @@ -432,6 +438,8 @@ int16 NPP_HandleEvent(NPP instance, void *event) default: log(instance, "event %d", evt->what); } +#endif // MAC_EVENT_CODE_DISABLED_DUE_TO_ERRORS + #endif return 0; |