Don't parent the TileController root layer in two places
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Nov 2013 03:50:06 +0000 (03:50 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Nov 2013 03:50:06 +0000 (03:50 +0000)
https://bugs.webkit.org/show_bug.cgi?id=124873

Reviewed by Brent Fulgham.

* platform/graphics/ca/mac/TileController.mm:
(WebCore::TileController::TileController):
The TileController's layer is already parented by callers of
TileController::create, and in a special way. TileController
shouldn't parent itself, anyway...

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ca/mac/TileController.mm

index 85a783e..98d5942 100644 (file)
@@ -1,3 +1,16 @@
+2013-11-26  Tim Horton  <timothy_horton@apple.com>
+
+        Don't parent the TileController root layer in two places
+        https://bugs.webkit.org/show_bug.cgi?id=124873
+
+        Reviewed by Brent Fulgham.
+
+        * platform/graphics/ca/mac/TileController.mm:
+        (WebCore::TileController::TileController):
+        The TileController's layer is already parented by callers of
+        TileController::create, and in a special way. TileController
+        shouldn't parent itself, anyway...
+
 2013-11-26  Nick Diego Yamane  <nick.yamane@openbossa.org>
 
         [MediaStream API] HTMLMediaElement should be able to use MediaStream as source
index f11ff55..a974252 100644 (file)
@@ -76,7 +76,6 @@ TileController::TileController(PlatformCALayer* rootPlatformLayer)
 #ifndef NDEBUG
     m_tileContainerLayer->setName("TileController Container Layer");
 #endif
-    rootPlatformLayer->appendSublayer(m_tileContainerLayer.get());
 }
 
 TileController::~TileController()