Re: [webkit-dev] Reading from Object

2011-10-12 Thread Soheil Servati Beiragh
From: Ryosuke Niwa To: Soheil Servati Beiragh Cc: "webkit-dev@lists.webkit.org" Sent: Wednesday, October 12, 2011 3:37 AM Subject: Re: [webkit-dev] Reading from Object What are you trying to do here? Clearly, all member variables are private here so you shouldn't be a

Re: [webkit-dev] Reading from Object

2011-10-12 Thread Ryosuke Niwa
What are you trying to do here? Clearly, all member variables are private here so you shouldn't be accessing directly by "m_fontlist.m_ptr->m_ cachePrimarySimpleFontData->m_platformData.m_face". I don't know much about the rendering engine but perhaps other contributors can help you out if you giv

[webkit-dev] Reading from Object

2011-10-11 Thread Soheil Servati Beiragh
In RenderBlockLineLayout.cpp, I'm trying to read face of the font from pointer to a structure named f below: RenderText* t = toRenderText(o); const Font& f = t->style(firstLine)->font(); the data I need exist in: f.m_fontlist.m_ptr->m_cachePrimarySimpleFontData->m_platformData.m_face I have

[webkit-dev] Reading from Object

2011-10-06 Thread Soheil Servati Beiragh
In RenderBlockLineLayout.cpp, I'm trying to read face of the font from pointer to a structure named f below: RenderText* t = toRenderText(o); const Font& f = t->style(firstLine)->font(); the data I need exist in: f.m_fontlist.m_ptr->m_cachePrimarySimpleFontData->m_platformData.m_face I have