Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes | Friends
nsFrameConstructorSaveState Class Reference
Collaboration diagram for nsFrameConstructorSaveState:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsFrameConstructorSaveState ()
 ~nsFrameConstructorSaveState ()

Private Attributes

nsAbsoluteItemsmItems
PRBoolmFirstLetterStyle
PRBoolmFirstLineStyle
nsAbsoluteItems mSavedItems
PRBool mSavedFirstLetterStyle
PRBool mSavedFirstLineStyle
nsIAtommChildListName
nsFrameConstructorStatemState

Friends

class nsFrameConstructorState

Detailed Description

Definition at line 1041 of file nsCSSFrameConstructor.cpp.


Constructor & Destructor Documentation

Definition at line 1525 of file nsCSSFrameConstructor.cpp.

{
  // Restore the state
  if (mItems) {
    NS_ASSERTION(mState, "Can't have mItems set without having a state!");
    mState->ProcessFrameInsertions(*mItems, mChildListName);
    *mItems = mSavedItems;
#ifdef DEBUG
    // We've transferred the child list, so drop the pointer we held to it.
    // Note that this only matters for the assert in ~nsAbsoluteItems.
    mSavedItems.childList = nsnull;
#endif
  }
  if (mFirstLetterStyle) {
    *mFirstLetterStyle = mSavedFirstLetterStyle;
  }
  if (mFirstLineStyle) {
    *mFirstLineStyle = mSavedFirstLineStyle;
  }
}

Here is the call graph for this function:


Friends And Related Function Documentation

friend class nsFrameConstructorState [friend]

Definition at line 1059 of file nsCSSFrameConstructor.cpp.


Member Data Documentation

Definition at line 1056 of file nsCSSFrameConstructor.cpp.

Definition at line 1048 of file nsCSSFrameConstructor.cpp.

Definition at line 1049 of file nsCSSFrameConstructor.cpp.

Definition at line 1047 of file nsCSSFrameConstructor.cpp.

Definition at line 1052 of file nsCSSFrameConstructor.cpp.

Definition at line 1053 of file nsCSSFrameConstructor.cpp.

Definition at line 1051 of file nsCSSFrameConstructor.cpp.

Definition at line 1057 of file nsCSSFrameConstructor.cpp.


The documentation for this class was generated from the following file: