Title: [177262] trunk/Source/WebCore
Revision
177262
Author
[email protected]
Date
2014-12-14 02:02:57 -0800 (Sun, 14 Dec 2014)

Log Message

Fix build even more. Not a strong performance here.

* platform/graphics/Font.cpp:
(WebCore::FontGlyphsCacheEntry::FontGlyphsCacheEntry):
(WebCore::retrieveOrAddCachedFontGlyphs):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (177261 => 177262)


--- trunk/Source/WebCore/ChangeLog	2014-12-14 09:50:48 UTC (rev 177261)
+++ trunk/Source/WebCore/ChangeLog	2014-12-14 10:02:57 UTC (rev 177262)
@@ -1,5 +1,13 @@
 2014-12-14  Andreas Kling  <[email protected]>
 
+        Fix build even more. Not a strong performance here.
+
+        * platform/graphics/Font.cpp:
+        (WebCore::FontGlyphsCacheEntry::FontGlyphsCacheEntry):
+        (WebCore::retrieveOrAddCachedFontGlyphs):
+
+2014-12-14  Andreas Kling  <[email protected]>
+
         Fix build. :-|
 
         * css/CSSFunctionValue.cpp:

Modified: trunk/Source/WebCore/platform/graphics/Font.cpp (177261 => 177262)


--- trunk/Source/WebCore/platform/graphics/Font.cpp	2014-12-14 09:50:48 UTC (rev 177261)
+++ trunk/Source/WebCore/platform/graphics/Font.cpp	2014-12-14 10:02:57 UTC (rev 177262)
@@ -215,6 +215,10 @@
 struct FontGlyphsCacheEntry {
     WTF_MAKE_FAST_ALLOCATED;
 public:
+    FontGlyphsCacheEntry(FontGlyphsCacheKey&& k, Ref<FontGlyphs>&& g)
+        : key(WTF::move(k))
+        , glyphs(WTF::move(g))
+    { }
     FontGlyphsCacheKey key;
     Ref<FontGlyphs> glyphs;
 };
@@ -306,7 +310,7 @@
         return addResult.iterator->value->glyphs.get();
 
     std::unique_ptr<FontGlyphsCacheEntry>& newEntry = addResult.iterator->value;
-    newEntry = std::make_unique<FontGlyphsCacheEntry>({WTF::move(key), FontGlyphs::create(fontSelector)});
+    newEntry = std::make_unique<FontGlyphsCacheEntry>(WTF::move(key), FontGlyphs::create(fontSelector));
     Ref<FontGlyphs> glyphs = newEntry->glyphs.get();
 
     static const unsigned unreferencedPruneInterval = 50;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to