equal
deleted
inserted
replaced
68 { |
68 { |
69 #if PLATFORM(SYMBIAN) |
69 #if PLATFORM(SYMBIAN) |
70 String str = name(); |
70 String str = name(); |
71 if(!str.isEmpty()) { |
71 if(!str.isEmpty()) { |
72 String v = content(); |
72 String v = content(); |
|
73 Frame* frame = document()->frame(); |
|
74 // frame null check added for fix of bug AJPA-7SWFS2, JS Document doesnot have frame assosicated so check has |
|
75 // been added to avoid unnecessary metadata notification. |
73 //Inform the bridge about this meta value; |
76 //Inform the bridge about this meta value; |
74 if (inDocument()) { |
77 if (inDocument() && frame != NULL) { |
75 static_cast<WebCoreFrameBridge*>(document()->frame()->bridge())->notifyMetaData(str,v); |
78 static_cast<WebCoreFrameBridge*>(frame->bridge())->notifyMetaData(str,v); |
76 } |
79 } |
77 } |
80 } |
78 #endif |
81 #endif |
79 // Get the document to process the tag, but only if we're actually part of DOM tree (changing a meta tag while |
82 // Get the document to process the tag, but only if we're actually part of DOM tree (changing a meta tag while |
80 // it's not in the tree shouldn't have any effect on the document) |
83 // it's not in the tree shouldn't have any effect on the document) |