summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit')
-rw-r--r--WebKit/android/nav/CachedFrame.cpp7
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());