diff options
| author | Cary Clark <cary@android.com> | 2009-12-04 10:51:29 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-12-04 10:51:29 -0800 |
| commit | 63670edc18e697b656e330eb1d2856a100a47929 (patch) | |
| tree | f3fd0f193f97a2aea65cc41c71586474994995a3 /WebKit | |
| parent | 021228f27b1399df5a45f3f1e7f1f12126e86e3c (diff) | |
| parent | f4b04b8d9c8b8aeb33ca4641594f7f0f7dc06505 (diff) | |
| download | external_webkit-63670edc18e697b656e330eb1d2856a100a47929.zip external_webkit-63670edc18e697b656e330eb1d2856a100a47929.tar.gz external_webkit-63670edc18e697b656e330eb1d2856a100a47929.tar.bz2 | |
am f4b04b8d: fix nav cache debugging
Merge commit 'f4b04b8d9c8b8aeb33ca4641594f7f0f7dc06505' into eclair-mr2-plus-aosp
* commit 'f4b04b8d9c8b8aeb33ca4641594f7f0f7dc06505':
fix nav cache debugging
Diffstat (limited to 'WebKit')
| -rw-r--r-- | WebKit/android/nav/CachedFrame.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/WebKit/android/nav/CachedFrame.cpp b/WebKit/android/nav/CachedFrame.cpp index cce5e4c..a95a401 100644 --- a/WebKit/android/nav/CachedFrame.cpp +++ b/WebKit/android/nav/CachedFrame.cpp @@ -1334,10 +1334,9 @@ void CachedFrame::Debug::print() const for (CachedNode* node = b->mCachedNodes.begin(); node != b->mCachedNodes.end(); node++) { node->mDebug.print(); - if (node->isTextInput()) { - const CachedInput& input = b->input(node); - input.mDebug.print(); - } + const CachedInput* input = b->textInput(node); + if (input) + input->mDebug.print(); } DUMP_NAV_LOGD("// }; // end of nodes\n"); DUMP_NAV_LOGD("// CachedFrame mCachedFrames={ // count=%d\n", b->mCachedFrames.size()); |
