Bug 1461933 - Remove ServoBindings.h from ComputedStyleInline.h. r=emilio
For doing this, ServoComputedData is split into separate files, so that files don't need to include ServoBindings.h just for accessing style structs from ComputedStyles. MozReview-Commit-ID: DPAd7PUUCl9
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <time.h>
|
||||
|
||||
#include "mozilla/ClearOnShutdown.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/Logging.h"
|
||||
#include "mozilla/Mutex.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
@@ -982,7 +983,7 @@ nsRFPService::GetSpoofedKeyCodeInfo(const nsIDocument* aDoc,
|
||||
// If the content-langauge is not given, we try to get langauge from the HTML
|
||||
// lang attribute.
|
||||
if (language.IsEmpty()) {
|
||||
Element* elm = aDoc->GetHtmlElement();
|
||||
dom::Element* elm = aDoc->GetHtmlElement();
|
||||
|
||||
if (elm) {
|
||||
elm->GetLang(language);
|
||||
|
||||
Reference in New Issue
Block a user