Remove unused member variables found by clang's -Wunused-private-field
authorthakis@chromium.org <thakis@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Jun 2012 06:24:48 +0000 (06:24 +0000)
committerthakis@chromium.org <thakis@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Jun 2012 06:24:48 +0000 (06:24 +0000)
commit395e58831f2b7d70bcd0a60420c095e4682d5e40
treed7b2772b1abb44e21346cb6e14c54952b2d4c3a3
parentfeeb134b987f885b1fb540b19f649c0815016114
Remove unused member variables found by clang's -Wunused-private-field
https://bugs.webkit.org/show_bug.cgi?id=88812

Reviewed by Anders Carlsson.

Source/WebCore:

Change a few |class|s that were used only to pin down the size of
existing classes to |struct|, so that clang doesn't warn about these
memvars.

No intended behavior change.

* Modules/geolocation/GeolocationController.cpp:
(WebCore::GeolocationController::GeolocationController):
* Modules/geolocation/GeolocationController.h:
(GeolocationController):
* Modules/webaudio/AudioContext.h:
(AudioContext):
* Modules/webaudio/AudioParamTimeline.h:
(AudioParamTimeline):
* accessibility/AccessibilityScrollbar.h:
(AccessibilityScrollbar):
* bindings/v8/ScriptScope.cpp:
(WebCore::ScriptScope::ScriptScope):
* bindings/v8/ScriptScope.h:
(ScriptScope):
* css/CSSValue.cpp:
* css/StylePropertySet.cpp:
* dom/DeviceOrientationController.cpp:
(WebCore::DeviceOrientationController::DeviceOrientationController):
* dom/DeviceOrientationController.h:
(DeviceOrientationController):
* editing/ReplaceSelectionCommand.cpp:
(ReplacementFragment):
(WebCore::ReplacementFragment::ReplacementFragment):
* editing/TextIterator.cpp:
(WebCore::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator):
* editing/TextIterator.h:
(SimplifiedBackwardsTextIterator):
(BackwardsCharacterIterator):
* html/HTMLFormCollection.cpp:
(WebCore::HTMLFormCollection::HTMLFormCollection):
* html/HTMLFormCollection.h:
(HTMLFormCollection):
* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement):
* html/shadow/MediaControlElements.h:
(MediaControlFullscreenButtonElement):
* html/shadow/MediaControlRootElementChromium.cpp:
(WebCore::MediaControlRootElementChromium::MediaControlRootElementChromium):
* html/shadow/MediaControlRootElementChromium.h:
(MediaControlRootElementChromium):
* html/track/LoadableTextTrack.cpp:
(WebCore::LoadableTextTrack::LoadableTextTrack):
* html/track/LoadableTextTrack.h:
(LoadableTextTrack):
* inspector/CodeGeneratorInspector.py:
(Generator.go):
* inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::InspectorCSSAgent):
* inspector/InspectorCSSAgent.h:
(InspectorCSSAgent):
* inspector/InspectorDOMDebuggerAgent.cpp:
(WebCore::InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent):
* inspector/InspectorDOMDebuggerAgent.h:
(InspectorDOMDebuggerAgent):
* inspector/InspectorMemoryAgent.cpp:
(WebCore::InspectorMemoryAgent::InspectorMemoryAgent):
* inspector/InspectorMemoryAgent.h:
(InspectorMemoryAgent):
* notifications/NotificationController.cpp:
(WebCore::NotificationController::NotificationController):
* notifications/NotificationController.h:
(NotificationController):
* page/animation/CompositeAnimation.h:
(WebCore::CompositeAnimation::CompositeAnimation):
(CompositeAnimation):
* platform/Length.cpp:
* platform/audio/ReverbConvolver.cpp:
(WebCore::ReverbConvolver::ReverbConvolver):
* platform/audio/ReverbConvolver.h:
(ReverbConvolver):
* platform/audio/ReverbConvolverStage.cpp:
(WebCore::ReverbConvolverStage::ReverbConvolverStage):
* platform/audio/ReverbConvolverStage.h:
(ReverbConvolverStage):
* platform/graphics/TextRun.cpp:
(ExpectedTextRunSize):
* platform/graphics/chromium/cc/CCThreadProxy.h:
(CCThreadProxy):
* platform/graphics/filters/FECustomFilter.cpp:
(WebCore::FECustomFilter::FECustomFilter):
* platform/graphics/filters/FECustomFilter.h:
(FECustomFilter):
* platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
(JPEGImageReader):
* platform/leveldb/LevelDBTransaction.cpp:
(WebCore::LevelDBTransaction::TreeIterator::next):
* platform/text/TextCodecICU.cpp:
(WebCore::TextCodecICU::TextCodecICU):
* platform/text/TextCodecICU.h:
(TextCodecICU):
* rendering/InlineBox.cpp:
* rendering/InlineFlowBox.cpp:
* rendering/RenderText.cpp:
* rendering/style/KeyframeList.h:
(WebCore::KeyframeList::KeyframeList):
(KeyframeList):
* rendering/svg/RenderSVGTextPath.cpp:
(WebCore::RenderSVGTextPath::RenderSVGTextPath):
* rendering/svg/RenderSVGTextPath.h:
* rendering/svg/SVGInlineTextBox.cpp:
* svg/SVGPathByteStreamSource.cpp:
* svg/SVGPathByteStreamSource.h:
* svg/SVGPathTraversalStateBuilder.cpp:
(WebCore::SVGPathTraversalStateBuilder::SVGPathTraversalStateBuilder):
* svg/SVGPathTraversalStateBuilder.h:
(SVGPathTraversalStateBuilder):
* xml/XSLStyleSheet.h:

Source/WebKit/chromium:

* src/AudioDestinationChromium.cpp:
(WebCore::AudioDestinationChromium::AudioDestinationChromium):
* src/AudioDestinationChromium.h:
(AudioDestinationChromium):
* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::InspectorFrontendClientImpl):
* src/InspectorFrontendClientImpl.h:
(InspectorFrontendClientImpl):
* src/WebFrameImpl.cpp:
(ChromePluginPrintContext):
* src/WebInputEvent.cpp:
* src/WorkerAsyncFileSystemChromium.cpp:
(WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
* src/WorkerAsyncFileWriterChromium.cpp:
(WebCore::WorkerAsyncFileWriterChromium::WorkerAsyncFileWriterChromium):
* src/WorkerAsyncFileWriterChromium.h:
(WorkerAsyncFileWriterChromium):
* tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTestSetVisible::CCLayerTreeHostTestSetVisible):
(CCLayerTreeHostTestSetVisible):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@120044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
69 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Modules/geolocation/GeolocationController.cpp
Source/WebCore/Modules/geolocation/GeolocationController.h
Source/WebCore/Modules/webaudio/AudioContext.h
Source/WebCore/Modules/webaudio/AudioParamTimeline.h
Source/WebCore/accessibility/AccessibilityScrollbar.h
Source/WebCore/bindings/v8/ScriptScope.cpp
Source/WebCore/bindings/v8/ScriptScope.h
Source/WebCore/css/CSSValue.cpp
Source/WebCore/css/StylePropertySet.cpp
Source/WebCore/dom/DeviceOrientationController.cpp
Source/WebCore/dom/DeviceOrientationController.h
Source/WebCore/editing/ReplaceSelectionCommand.cpp
Source/WebCore/editing/TextIterator.cpp
Source/WebCore/editing/TextIterator.h
Source/WebCore/html/HTMLFormCollection.cpp
Source/WebCore/html/HTMLFormCollection.h
Source/WebCore/html/shadow/MediaControlElements.cpp
Source/WebCore/html/shadow/MediaControlElements.h
Source/WebCore/html/shadow/MediaControlRootElementChromium.cpp
Source/WebCore/html/shadow/MediaControlRootElementChromium.h
Source/WebCore/html/track/LoadableTextTrack.cpp
Source/WebCore/html/track/LoadableTextTrack.h
Source/WebCore/inspector/CodeGeneratorInspector.py
Source/WebCore/inspector/InspectorCSSAgent.cpp
Source/WebCore/inspector/InspectorCSSAgent.h
Source/WebCore/inspector/InspectorDOMDebuggerAgent.cpp
Source/WebCore/inspector/InspectorDOMDebuggerAgent.h
Source/WebCore/inspector/InspectorMemoryAgent.cpp
Source/WebCore/inspector/InspectorMemoryAgent.h
Source/WebCore/notifications/NotificationController.cpp
Source/WebCore/notifications/NotificationController.h
Source/WebCore/page/animation/CompositeAnimation.h
Source/WebCore/platform/Length.cpp
Source/WebCore/platform/audio/ReverbConvolver.cpp
Source/WebCore/platform/audio/ReverbConvolver.h
Source/WebCore/platform/audio/ReverbConvolverStage.cpp
Source/WebCore/platform/audio/ReverbConvolverStage.h
Source/WebCore/platform/graphics/TextRun.cpp
Source/WebCore/platform/graphics/chromium/cc/CCThreadProxy.h
Source/WebCore/platform/graphics/filters/FECustomFilter.cpp
Source/WebCore/platform/graphics/filters/FECustomFilter.h
Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
Source/WebCore/platform/leveldb/LevelDBTransaction.cpp
Source/WebCore/platform/text/TextCodecICU.cpp
Source/WebCore/platform/text/TextCodecICU.h
Source/WebCore/rendering/InlineBox.cpp
Source/WebCore/rendering/InlineFlowBox.cpp
Source/WebCore/rendering/RenderText.cpp
Source/WebCore/rendering/style/KeyframeList.h
Source/WebCore/rendering/svg/RenderSVGTextPath.cpp
Source/WebCore/rendering/svg/RenderSVGTextPath.h
Source/WebCore/rendering/svg/SVGInlineTextBox.cpp
Source/WebCore/svg/SVGPathByteStreamSource.cpp
Source/WebCore/svg/SVGPathByteStreamSource.h
Source/WebCore/svg/SVGPathTraversalStateBuilder.cpp
Source/WebCore/svg/SVGPathTraversalStateBuilder.h
Source/WebCore/xml/XSLStyleSheet.h
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/src/AudioDestinationChromium.cpp
Source/WebKit/chromium/src/AudioDestinationChromium.h
Source/WebKit/chromium/src/InspectorFrontendClientImpl.cpp
Source/WebKit/chromium/src/InspectorFrontendClientImpl.h
Source/WebKit/chromium/src/WebFrameImpl.cpp
Source/WebKit/chromium/src/WebInputEvent.cpp
Source/WebKit/chromium/src/WorkerAsyncFileSystemChromium.cpp
Source/WebKit/chromium/src/WorkerAsyncFileWriterChromium.cpp
Source/WebKit/chromium/src/WorkerAsyncFileWriterChromium.h
Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp