summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-10 20:34:30 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-10 20:34:30 +0000
commitfd6752c1960fa20715729de98d43f9ff64124c1c (patch)
tree3bd1dfa674aaf2f87559bf130590346b1d6b1519 /chrome/browser/tab_contents
parentfadf9cdd69aa5bd50ce55d750c1bb1763abcf968 (diff)
downloadchromium_src-fd6752c1960fa20715729de98d43f9ff64124c1c.zip
chromium_src-fd6752c1960fa20715729de98d43f9ff64124c1c.tar.gz
chromium_src-fd6752c1960fa20715729de98d43f9ff64124c1c.tar.bz2
[Mac] ScopedSendingEvent finds NSApp by itself.
BUG=none TEST=none Review URL: http://codereview.chromium.org/385009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/tab_contents_view_mac.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.mm b/chrome/browser/tab_contents/tab_contents_view_mac.mm
index b817315..9a06d66 100644
--- a/chrome/browser/tab_contents/tab_contents_view_mac.mm
+++ b/chrome/browser/tab_contents/tab_contents_view_mac.mm
@@ -134,8 +134,7 @@ void TabContentsViewMac::StartDragging(const WebDropData& drop_data,
// processing -sendEvent:, so Close() is deferred in that case.
// Drags from web content do not come via -sendEvent:, this sets the
// same flag -sendEvent: would.
- chrome_application_mac::ScopedSendingEvent sendingEventScoper(
- static_cast<CrApplication*>([CrApplication sharedApplication]));
+ chrome_application_mac::ScopedSendingEvent sendingEventScoper;
// The drag invokes a nested event loop, arrange to continue
// processing events.