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

Side by Side Diff: Source/platform/fonts/mac/SimpleFontDataMac.mm

Issue 34273002: Remove UnusedParam.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unused variables from signatures 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2010, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Alexey Proskuryakov 3 * Copyright (C) 2006 Alexey Proskuryakov
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 23 matching lines...) Expand all
34 #import "platform/SharedBuffer.h" 34 #import "platform/SharedBuffer.h"
35 #import "platform/fonts/Font.h" 35 #import "platform/fonts/Font.h"
36 #import "platform/fonts/FontCache.h" 36 #import "platform/fonts/FontCache.h"
37 #import "platform/fonts/FontDescription.h" 37 #import "platform/fonts/FontDescription.h"
38 #import "platform/geometry/FloatRect.h" 38 #import "platform/geometry/FloatRect.h"
39 #import "platform/graphics/Color.h" 39 #import "platform/graphics/Color.h"
40 #import "platform/mac/BlockExceptions.h" 40 #import "platform/mac/BlockExceptions.h"
41 #import <wtf/Assertions.h> 41 #import <wtf/Assertions.h>
42 #import <wtf/RetainPtr.h> 42 #import <wtf/RetainPtr.h>
43 #import <wtf/StdLibExtras.h> 43 #import <wtf/StdLibExtras.h>
44 #import <wtf/UnusedParam.h>
45 44
46 @interface NSFont (WebAppKitSecretAPI) 45 @interface NSFont (WebAppKitSecretAPI)
47 - (BOOL)_isFakeFixedPitch; 46 - (BOOL)_isFakeFixedPitch;
48 @end 47 @end
49 48
50 // The names of these constants were taken from history 49 // The names of these constants were taken from history
51 // /trunk/WebKit/WebCoreSupport.subproj/WebTextRenderer.m@9311. The values 50 // /trunk/WebKit/WebCoreSupport.subproj/WebTextRenderer.m@9311. The values
52 // were derived from the assembly of libWebKitSystemInterfaceLeopard.a. 51 // were derived from the assembly of libWebKitSystemInterfaceLeopard.a.
53 enum CGFontRenderingMode { 52 enum CGFontRenderingMode {
54 kCGFontRenderingMode1BitPixelAligned = 0x0, 53 kCGFontRenderingMode1BitPixelAligned = 0x0,
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 RetainPtr<CGFontRef> runCGFont(AdoptCF, CTFontCopyGraphicsFont(runFont, 0)); 443 RetainPtr<CGFontRef> runCGFont(AdoptCF, CTFontCopyGraphicsFont(runFont, 0));
445 if (!CFEqual(runCGFont.get(), cgFont.get())) 444 if (!CFEqual(runCGFont.get(), cgFont.get()))
446 return false; 445 return false;
447 } 446 }
448 447
449 addResult.iterator->value = true; 448 addResult.iterator->value = true;
450 return true; 449 return true;
451 } 450 }
452 451
453 } // namespace WebCore 452 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698