diff options
| author | Cary Clark <cary@android.com> | 2009-12-04 10:53:43 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-12-04 10:53:43 -0800 |
| commit | 92deeb626747e77e7ba665a9fd297f86366b7a60 (patch) | |
| tree | 1938ad2bdfa3eebeb2fc7f7230bec75eeb4c323a /WebKit | |
| parent | 083dd9ba642850ce340338a4ed960164afe73171 (diff) | |
| parent | 63670edc18e697b656e330eb1d2856a100a47929 (diff) | |
| download | external_webkit-92deeb626747e77e7ba665a9fd297f86366b7a60.zip external_webkit-92deeb626747e77e7ba665a9fd297f86366b7a60.tar.gz external_webkit-92deeb626747e77e7ba665a9fd297f86366b7a60.tar.bz2 | |
am 63670edc: am f4b04b8d: fix nav cache debugging
Merge commit '63670edc18e697b656e330eb1d2856a100a47929'
* commit '63670edc18e697b656e330eb1d2856a100a47929':
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()); |
