Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1973)

Unified Diff: Source/platform/mac/ScrollAnimatorMac.mm

Issue 34273002: Remove UnusedParam.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/image-decoders/png/PNGImageDecoder.cpp ('k') | Source/platform/mac/WebFontCache.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/ScrollAnimatorMac.mm
diff --git a/Source/platform/mac/ScrollAnimatorMac.mm b/Source/platform/mac/ScrollAnimatorMac.mm
index 6a3757fe46985ed846fc9d30d98ef48375fb0975..e02a7f8b6532a59e0020b7af214f35f205fb7737 100644
--- a/Source/platform/mac/ScrollAnimatorMac.mm
+++ b/Source/platform/mac/ScrollAnimatorMac.mm
@@ -40,7 +40,6 @@
#include "platform/scroll/ScrollbarThemeMacOverlayAPI.h"
#include "wtf/MainThread.h"
#include "wtf/PassOwnPtr.h"
-#include "wtf/UnusedParam.h"
using namespace WebCore;
using namespace std;
@@ -209,7 +208,6 @@ static NSSize abs(NSSize size)
- (NSRect)contentAreaRectForScrollerImpPair:(id)scrollerImpPair
{
- UNUSED_PARAM(scrollerImpPair);
if (!_scrollableArea)
return NSZeroRect;
@@ -219,7 +217,6 @@ static NSSize abs(NSSize size)
- (BOOL)inLiveResizeForScrollerImpPair:(id)scrollerImpPair
{
- UNUSED_PARAM(scrollerImpPair);
if (!_scrollableArea)
return NO;
@@ -228,7 +225,6 @@ static NSSize abs(NSSize size)
- (NSPoint)mouseLocationInContentAreaForScrollerImpPair:(id)scrollerImpPair
{
- UNUSED_PARAM(scrollerImpPair);
if (!_scrollableArea)
return NSZeroPoint;
@@ -237,7 +233,6 @@ static NSSize abs(NSSize size)
- (NSPoint)scrollerImpPair:(id)scrollerImpPair convertContentPoint:(NSPoint)pointInContentArea toScrollerImp:(id)scrollerImp
{
- UNUSED_PARAM(scrollerImpPair);
if (!_scrollableArea || !scrollerImp)
return NSZeroPoint;
@@ -263,9 +258,6 @@ static NSSize abs(NSSize size)
- (void)scrollerImpPair:(id)scrollerImpPair setContentAreaNeedsDisplayInRect:(NSRect)rect
{
- UNUSED_PARAM(scrollerImpPair);
- UNUSED_PARAM(rect);
-
if (!_scrollableArea)
return;
@@ -572,8 +564,6 @@ enum FeatureToAnimate {
- (void)scrollerImp:(id)scrollerImp overlayScrollerStateChangedTo:(NSUInteger)newOverlayScrollerState
{
- UNUSED_PARAM(scrollerImp);
- UNUSED_PARAM(newOverlayScrollerState);
}
- (void)invalidate
« no previous file with comments | « Source/platform/image-decoders/png/PNGImageDecoder.cpp ('k') | Source/platform/mac/WebFontCache.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698