Home
last modified time | relevance | path

Searched refs:m_stateStack (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext2D.h283 State& modifiableState() { ASSERT(!m_unrealizedSaveCount); return m_stateStack.last(); } in modifiableState()
284 const State& state() const { return m_stateStack.last(); } in state()
333 Vector<State, 1> m_stateStack; variable
DCanvasRenderingContext2D.cpp82 , m_stateStack(1) in CanvasRenderingContext2D()
95 if (size_t stackSize = m_stateStack.size()) { in unwindStateStack()
121 m_stateStack.resize(1); in reset()
122 m_stateStack.first() = State(); in reset()
237 ASSERT(m_stateStack.size() >= 1); in realizeSavesLoop()
240 m_stateStack.append(state()); in realizeSavesLoop()
252 ASSERT(m_stateStack.size() >= 1); in restore()
253 if (m_stateStack.size() <= 1) in restore()
256 m_stateStack.removeLast(); in restore()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp129 m_stateStack.append(adoptPtr(new GraphicsContextState())); in GraphicsContext()
130 m_state = m_stateStack.last().get(); in GraphicsContext()
135 ASSERT(m_stateStack.size() == 1); in ~GraphicsContext()
157 m_stateStack.append(m_state->clone()); in save()
158 m_state = m_stateStack.last().get(); in save()
169 if (m_stateStack.size() == 1) { in restore()
174 m_stateStack.removeLast(); in restore()
175 m_state = m_stateStack.last().get(); in restore()
DGraphicsContext.h452 Vector<OwnPtr<GraphicsContextState> > m_stateStack; variable