summaryrefslogtreecommitdiffstats
path: root/chrome/common/native_window_notification_source.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-26 21:29:08 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-26 21:29:08 +0000
commit5c06c596414d9cc8123a4c872b5e790a363feed2 (patch)
treef7aadfe135373f00aaf875b1354a1d65033f16db /chrome/common/native_window_notification_source.h
parent6d59c1782a65bdd4f2b09bd01db80617bfc39c66 (diff)
downloadchromium_src-5c06c596414d9cc8123a4c872b5e790a363feed2.zip
chromium_src-5c06c596414d9cc8123a4c872b5e790a363feed2.tar.gz
chromium_src-5c06c596414d9cc8123a4c872b5e790a363feed2.tar.bz2
Do a few random bits of porting for Linux.
Review URL: http://codereview.chromium.org/115784 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/native_window_notification_source.h')
-rw-r--r--chrome/common/native_window_notification_source.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/native_window_notification_source.h b/chrome/common/native_window_notification_source.h
index 0749728..3db7e50 100644
--- a/chrome/common/native_window_notification_source.h
+++ b/chrome/common/native_window_notification_source.h
@@ -18,8 +18,8 @@ class Source<gfx::NativeWindow> : public NotificationSource {
explicit Source(const NotificationSource& other)
: NotificationSource(other) {}
- HWND operator->() const { return ptr(); }
- HWND ptr() const { return static_cast<gfx::NativeWindow>(ptr_); }
+ gfx::NativeWindow operator->() const { return ptr(); }
+ gfx::NativeWindow ptr() const { return static_cast<gfx::NativeWindow>(ptr_); }
};
#endif // CHROME_COMMON_NATIVE_WINDOW_NOTIFICATION_SOURCE_H_