commit | e8fd49f5f7481e2f916cb0d8cfbada79309562b4 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Thu Jun 17 09:40:53 2010 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Thu Jun 17 09:40:53 2010 -0700 |
tree | 25c9ee90504f0760e46edab01d007cbeea6f6d99 | |
parent | d5c3530d89e4ed279f6a517a767771ac03f32c3a [diff] |
Fix NPE when site header or footer isn't present If there is no site header or footer, HostPageServlet deletes these from the document it sends to the browser, which means we have no DOM handle to the node. We can't set visiblity on null, so skip the set call. Bug: issue 587 Change-Id: I6e16472f35b99f18fea4eead9cd1029e87b4b1f2 Signed-off-by: Shawn O. Pearce <sop@google.com>