Reviewed by Tim H.
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Sep 2006 23:15:22 +0000 (23:15 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Sep 2006 23:15:22 +0000 (23:15 +0000)
        - Re-add private method [DOMRGBColor _color] to DOMPrivate.h as
          it is it turns out that AppKit uses it.

        * bindings/objc/DOMPrivate.h:
        * bindings/objc/DOMRGBColor.mm:
        (-[DOMRGBColor _color]):

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

WebCore/ChangeLog
WebCore/bindings/objc/DOMPrivate.h
WebCore/bindings/objc/DOMRGBColor.mm

index 6fe5ee4179887c0f36004f9623673d5c46c68544..7834adb99430a1f8c04262f8363244c78baf79e6 100644 (file)
@@ -1,3 +1,14 @@
+2006-09-18  Sam Weinig  <sam.weinig@gmail.com>
+
+        Reviewed by Tim H.
+
+        - Re-add private method [DOMRGBColor _color] to DOMPrivate.h as
+          it is it turns out that AppKit uses it.
+
+        * bindings/objc/DOMPrivate.h:
+        * bindings/objc/DOMRGBColor.mm:
+        (-[DOMRGBColor _color]):
+
 2006-09-18  Sam Weinig  <sam.weinig@gmail.com>
 
         Reviewed by Tim H.
index 4092f5931639b668a5c377ee6ff8c4b60f94f0ba..e0d292aed63a89786121bb83d920f98949ea65fb 100644 (file)
 #import <WebCore/DOMUIEventPrivate.h>
 #import <WebCore/DOMWheelEventPrivate.h>
 
+@interface DOMRGBColor (WebPrivate)
+- (NSColor *)_color;
+@end
+
 @interface DOMRange (WebPrivate)
 // uses same algorithm as innerText
 - (NSString *)_text;
index cbcfa02864d3f467667c83102499132d551c52fe..42d98dd7811cf1411145a6a8577d487f39b4b6e3 100644 (file)
@@ -114,6 +114,15 @@ void removeWrapperForRGB(WebCore::RGBA32 value)
 
 @end
 
+@implementation DOMRGBColor (WebPrivate)
+
+- (NSColor *)_color
+{
+    return [self color];
+}
+
+@end
+
 @implementation DOMRGBColor (WebCoreInternal)
 
 - (id)_initWithRGB:(WebCore::RGBA32)value