summaryrefslogtreecommitdiffstats
path: root/ui/gl
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-15 22:51:12 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-15 22:51:12 +0000
commit0d737fb023482162abb0c725035ed0437f03f649 (patch)
treed473c0f6703d05b184e2e498d8691350ab8cec83 /ui/gl
parent5b0cd647c7afc0f9f99efcfc80b6e888c460f760 (diff)
downloadchromium_src-0d737fb023482162abb0c725035ed0437f03f649.zip
chromium_src-0d737fb023482162abb0c725035ed0437f03f649.tar.gz
chromium_src-0d737fb023482162abb0c725035ed0437f03f649.tar.bz2
Fix win64 breakage due to r182823
Unbreak the Win64 build, plus it may be dangerous to use an int here anyway given the overflow potential. R=epenner@chromium.org,gman@chromium.org Review URL: https://codereview.chromium.org/12276006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl')
-rw-r--r--ui/gl/safe_shared_memory_pool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gl/safe_shared_memory_pool.h b/ui/gl/safe_shared_memory_pool.h
index 4d5eb9d..699df11 100644
--- a/ui/gl/safe_shared_memory_pool.h
+++ b/ui/gl/safe_shared_memory_pool.h
@@ -73,9 +73,9 @@ class SafeSharedMemoryPool {
// Track usage to diagnose crashes.
int handles_consumed_;
- int address_space_consumed_;
+ size_t address_space_consumed_;
int max_handles_consumed_;
- int max_address_space_consumed_;
+ size_t max_address_space_consumed_;
base::Lock lock_;