Fix new -Wunused-private-field violations
authorthakis@chromium.org <thakis@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2012 02:04:00 +0000 (02:04 +0000)
committerthakis@chromium.org <thakis@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2012 02:04:00 +0000 (02:04 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90417

Reviewed by Ryosuke Niwa.

No intended behavior change.

* inspector/InspectorFileSystemAgent.cpp:
(WebCore):
* platform/graphics/chromium/cc/CCPrioritizedTextureManager.cpp:
(WebCore::CCPrioritizedTextureManager::CCPrioritizedTextureManager):
* platform/graphics/chromium/cc/CCPrioritizedTextureManager.h:
(CCPrioritizedTextureManager):

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

Source/WebCore/ChangeLog
Source/WebCore/inspector/InspectorFileSystemAgent.cpp
Source/WebCore/platform/graphics/chromium/cc/CCPrioritizedTextureManager.cpp
Source/WebCore/platform/graphics/chromium/cc/CCPrioritizedTextureManager.h

index 350b4f5..4f25e96 100644 (file)
@@ -1,3 +1,19 @@
+2012-07-02  Nico Weber  <thakis@chromium.org>
+
+        Fix new -Wunused-private-field violations
+        https://bugs.webkit.org/show_bug.cgi?id=90417
+
+        Reviewed by Ryosuke Niwa.
+
+        No intended behavior change.
+
+        * inspector/InspectorFileSystemAgent.cpp:
+        (WebCore):
+        * platform/graphics/chromium/cc/CCPrioritizedTextureManager.cpp:
+        (WebCore::CCPrioritizedTextureManager::CCPrioritizedTextureManager):
+        * platform/graphics/chromium/cc/CCPrioritizedTextureManager.h:
+        (CCPrioritizedTextureManager):
+
 2012-07-02  Yoshifumi Inoue  <yosin@chromium.org>
 
         Build fix for Chromimum
index adafeea..dffef09 100644 (file)
@@ -460,15 +460,13 @@ private:
         , m_requestId(requestId)
         , m_url(ParsedURLString, url)
         , m_start(start)
-        , m_end(end)
-        , m_current(start) { }
+        , m_end(end) { }
 
     RefPtr<FrontendProvider> m_frontendProvider;
     int m_requestId;
     KURL m_url;
     int m_start;
     long long m_end;
-    long long m_current;
 
     RefPtr<FileReader> m_reader;
 };
index b642b99..25085b8 100644 (file)
@@ -36,9 +36,8 @@ using namespace std;
 
 namespace WebCore {
 
-CCPrioritizedTextureManager::CCPrioritizedTextureManager(size_t maxMemoryLimitBytes, size_t preferredMemoryLimitBytes, int maxTextureSize)
-    : m_maxTextureSize(maxTextureSize)
-    , m_maxMemoryLimitBytes(maxMemoryLimitBytes)
+CCPrioritizedTextureManager::CCPrioritizedTextureManager(size_t maxMemoryLimitBytes, size_t preferredMemoryLimitBytes, int)
+    : m_maxMemoryLimitBytes(maxMemoryLimitBytes)
     , m_preferredMemoryLimitBytes(preferredMemoryLimitBytes)
     , m_maxMemoryPriorityCutoff(CCPriorityCalculator::visiblePriority())
     , m_priorityCutoff(CCPriorityCalculator::lowestPriority())
index 7fc2c6e..f870e77 100644 (file)
@@ -117,7 +117,6 @@ private:
     CCPrioritizedTexture::Backing* createBacking(IntSize, GC3Denum format, TextureAllocator*);
     void destroyBacking(CCPrioritizedTexture::Backing*, TextureAllocator*);
 
-    int m_maxTextureSize;
     size_t m_maxMemoryLimitBytes;
     size_t m_preferredMemoryLimitBytes;
     unsigned m_maxMemoryPriorityCutoff;