[Webkit-unassigned] [Bug 63044] [EFL] Makes themeForPage() return static RenderThemeEfl.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 20 23:05:19 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63044


Ryuan Choi <ryuan.choi at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ryuan.choi at samsung.com




--- Comment #2 from Ryuan Choi <ryuan.choi at samsung.com>  2011-06-20 23:05:19 PST ---
(In reply to comment #0)
> 364    PassRefPtr<RenderTheme> RenderTheme::themeForPage(Page* page)
> 365    {
> 366        if (page)
> 367            return RenderThemeEfl::create(page);
> 368    
> 369        static RenderTheme* fallback = RenderThemeEfl::create(0).releaseRef();
> 370        return fallback;
> 371    }
> 
> First,
> If Page exsists, RenderThemeEfl is created whenever themeForPage() is called.
> But themeForPage() doesn't have to create RenderThemeEfl for every time.
> 
I can't understand it.
If user use different theme for each views, Is it OK?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list