From c32f1d46d45b5906f8077a6d63d027a206eee079 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Wed, 19 Jun 2013 07:01:12 +0000 Subject: [PATCH] Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@9671 2bbb7eff-a529-9590-31e7-b0007b416f81 --- experimental/SkiaExamples/BaseExample.cpp | 13 ++++++------- experimental/SkiaExamples/BaseExample.h | 1 - experimental/SkiaExamples/HelloSkiaExample.cpp | 1 - 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/experimental/SkiaExamples/BaseExample.cpp b/experimental/SkiaExamples/BaseExample.cpp index decce40..7e4116a 100644 --- a/experimental/SkiaExamples/BaseExample.cpp +++ b/experimental/SkiaExamples/BaseExample.cpp @@ -124,12 +124,11 @@ void BaseExample::onSizeChange() { #ifdef SK_BUILD_FOR_WIN void BaseExample::onHandleInval(const SkIRect& rect) { - RECT winRect; - winRect.top = rect.top(); - winRect.bottom = rect.bottom(); - winRect.right = rect.right(); - winRect.left = rect.left(); - InvalidateRect((HWND)this->getHWND(), &winRect, false); + RECT winRect; + winRect.top = rect.top(); + winRect.bottom = rect.bottom(); + winRect.right = rect.right(); + winRect.left = rect.left(); + InvalidateRect((HWND)this->getHWND(), &winRect, false); } #endif - diff --git a/experimental/SkiaExamples/BaseExample.h b/experimental/SkiaExamples/BaseExample.h index 354f02b..b9cc259 100644 --- a/experimental/SkiaExamples/BaseExample.h +++ b/experimental/SkiaExamples/BaseExample.h @@ -55,4 +55,3 @@ private: typedef SkOSWindow INHERITED; }; #endif - diff --git a/experimental/SkiaExamples/HelloSkiaExample.cpp b/experimental/SkiaExamples/HelloSkiaExample.cpp index 8fb9ace..f25cd76 100644 --- a/experimental/SkiaExamples/HelloSkiaExample.cpp +++ b/experimental/SkiaExamples/HelloSkiaExample.cpp @@ -110,4 +110,3 @@ class HelloSkia : public BaseExample { SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv) { return new HelloSkia(hwnd, argc, argv); } - -- 2.7.4