Remove unused global static variable for BlackBerry.
authorstaikos@webkit.org <staikos@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Mar 2012 15:32:47 +0000 (15:32 +0000)
committerstaikos@webkit.org <staikos@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Mar 2012 15:32:47 +0000 (15:32 +0000)
https://bugs.webkit.org/show_bug.cgi?id=80790

Reviewed by Alexey Proskuryakov.

* platform/graphics/gpu/DrawingBuffer.cpp:
(WebCore):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@110429 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp

index 980bbb4..d31ac9d 100644 (file)
@@ -1,5 +1,15 @@
 2012-03-12  George Staikos  <staikos@webkit.org>
 
+        Remove unused global static variable for BlackBerry.
+        https://bugs.webkit.org/show_bug.cgi?id=80790
+
+        Reviewed by Alexey Proskuryakov.
+
+        * platform/graphics/gpu/DrawingBuffer.cpp:
+        (WebCore):
+
+2012-03-12  George Staikos  <staikos@webkit.org>
+
         Correct usage of NDEBUG to fix warnings on BlackBerry.
         https://bugs.webkit.org/show_bug.cgi?id=80790
 
index d37d604..48dd0a3 100644 (file)
@@ -45,7 +45,7 @@ namespace WebCore {
 // exceed the global cap will instead clear the buffer.
 #if PLATFORM(CHROMIUM) // Currently, this cap only exists for chromium.
 static int s_maximumResourceUsePixels = 16 * 1024 * 1024;
-#else
+#elif !PLATFORM(BLACKBERRY)
 static int s_maximumResourceUsePixels = 0;
 #endif
 static int s_currentResourceUsePixels = 0;