From b99603ceb9cbec4a3b1ca9ac535f6b1cbc951bb8 Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Thu, 30 Dec 2010 22:13:32 +0000 Subject: Move some functions out of win_util and into hwnd_util, and into a new win/shell file. This also moves two functions that were only called once from win_util and inwo window_win and download_util, respectively. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6035011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70321 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/cpp/size.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ppapi/cpp/size.h') diff --git a/ppapi/cpp/size.h b/ppapi/cpp/size.h index adcaf78..f2f9fe1 100644 --- a/ppapi/cpp/size.h +++ b/ppapi/cpp/size.h @@ -76,15 +76,6 @@ class Size { set_height(height() + h); } - void swap(Size& other) { - int32_t w = size_.width; - int32_t h = size_.height; - size_.width = other.size_.width; - size_.height = other.size_.height; - other.size_.width = w; - other.size_.height = h; - } - bool IsEmpty() const { // Size doesn't allow negative dimensions, so testing for 0 is enough. return (width() == 0) || (height() == 0); -- cgit v1.1