From 887760f60be146fdefa6b386f80677b540a9f279 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Mon, 1 Oct 2012 16:14:21 +0000 Subject: views: Fix a typo in SkEvent.h WndProc is not implemented by unix/linux and does not even compile fixing the typoe, so just remove these function declarations. R=bsalomon@google.com Review URL: https://codereview.appspot.com/6561062 git-svn-id: http://skia.googlecode.com/svn/trunk@5749 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/views/SkEvent.h | 5 +---- include/views/SkOSWindow_Unix.h | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'include/views') diff --git a/include/views/SkEvent.h b/include/views/SkEvent.h index bf0c011073..f4df4482bf 100644 --- a/include/views/SkEvent.h +++ b/include/views/SkEvent.h @@ -256,11 +256,8 @@ public: */ static void SignalQueueTimer(SkMSec delay); -#ifdef SK_BUILD_FOR_WIN +#if defined(SK_BUILD_FOR_WIN) static bool WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); -#elif defined(SK_BUILD_FOR_UNIXx) - static uint32_t HandleTimer(uint32_t, void*); - static bool WndProc(Display*, Window, XEvent&); #endif private: diff --git a/include/views/SkOSWindow_Unix.h b/include/views/SkOSWindow_Unix.h index d9675799d2..f1a4698668 100644 --- a/include/views/SkOSWindow_Unix.h +++ b/include/views/SkOSWindow_Unix.h @@ -47,8 +47,6 @@ public: //static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay); - //static bool WndProc(SkUnixWindow* w, XEvent &e); - protected: // Overridden from from SkWindow: virtual bool onEvent(const SkEvent&) SK_OVERRIDE; -- cgit v1.2.3