Title: [122941] trunk/Source/WebKit2
Revision
122941
Author
[email protected]
Date
2012-07-18 03:31:12 -0700 (Wed, 18 Jul 2012)

Log Message

[WK2][EFL] Add a common code using Color instead of QColor
https://bugs.webkit.org/show_bug.cgi?id=91580

Patch by YoungTaeck Song <[email protected]> on 2012-07-18
Reviewed by Simon Hausmann.

This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
drawBorder's argument is QColor. So add a common code using Color to be used by Efl.

* UIProcess/texmap/LayerBackingStore.cpp:
(WebKit::LayerBackingStore::paintToTextureMapper):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (122940 => 122941)


--- trunk/Source/WebKit2/ChangeLog	2012-07-18 10:20:19 UTC (rev 122940)
+++ trunk/Source/WebKit2/ChangeLog	2012-07-18 10:31:12 UTC (rev 122941)
@@ -1,3 +1,16 @@
+2012-07-18  YoungTaeck Song  <[email protected]>
+
+        [WK2][EFL] Add a common code using Color instead of QColor
+        https://bugs.webkit.org/show_bug.cgi?id=91580
+
+        Reviewed by Simon Hausmann.
+
+        This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
+        drawBorder's argument is QColor. So add a common code using Color to be used by Efl.
+
+        * UIProcess/texmap/LayerBackingStore.cpp:
+        (WebKit::LayerBackingStore::paintToTextureMapper):
+
 2012-07-17  Christophe Dumez  <[email protected]>
 
         [EFL] Replace 0 by NULL in public headers documentation

Modified: trunk/Source/WebKit2/UIProcess/texmap/LayerBackingStore.cpp (122940 => 122941)


--- trunk/Source/WebKit2/UIProcess/texmap/LayerBackingStore.cpp	2012-07-18 10:20:19 UTC (rev 122940)
+++ trunk/Source/WebKit2/UIProcess/texmap/LayerBackingStore.cpp	2012-07-18 10:31:12 UTC (rev 122941)
@@ -141,7 +141,8 @@
         static bool shouldDebug = shouldShowTileDebugVisuals();
         if (!shouldDebug)
             continue;
-        textureMapper->drawBorder(QColor(Qt::red), 2, tile->rect(), transform);
+
+        textureMapper->drawBorder(Color(0xFF, 0, 0), 2, tile->rect(), transform);
         textureMapper->drawRepaintCounter(static_cast<LayerBackingStoreTile*>(tile)->repaintCount(), 8, tilesToPaint[i]->rect().location(), transform);
     }
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to