| Index: third_party/WebKit/Source/platform/mac/ColorMac.mm
|
| diff --git a/third_party/WebKit/Source/platform/mac/ColorMac.mm b/third_party/WebKit/Source/platform/mac/ColorMac.mm
|
| index 5682ea02da4c4b8b85b259956f5af7170465e4cc..8bad9f3e42d39a6dbfd3870ee93d8f47f907cd47 100644
|
| --- a/third_party/WebKit/Source/platform/mac/ColorMac.mm
|
| +++ b/third_party/WebKit/Source/platform/mac/ColorMac.mm
|
| @@ -1,5 +1,6 @@
|
| /*
|
| - * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc. All rights reserved.
|
| + * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc.
|
| + * All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -20,7 +21,7 @@
|
| * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| #import "platform/mac/ColorMac.h"
|
| @@ -36,7 +37,8 @@ NSColor* nsColor(const Color& color) {
|
| RGBA32 c = color.rgb();
|
| switch (c) {
|
| case 0: {
|
| - // Need this to avoid returning nil because cachedRGBAValues will default to 0.
|
| + // Need this to avoid returning nil because cachedRGBAValues will default
|
| + // to 0.
|
| DEFINE_STATIC_LOCAL(
|
| RetainPtr<NSColor>, clearColor,
|
| ([NSColor colorWithDeviceRed:0 green:0 blue:0 alpha:0]));
|
|
|