DescriptionAdd missing null check in PageSerializer::serializeCSSStyleSheet()
Add missing null check in PageSerializer::serializeCSSStyleSheet() for
importRule->styleSheet(). CSSImportRule::styleSheet() can return null but
the function it is being passed to expects a non-null pointer.
Also update PageSerializer::serializeCSSStyleSheet() to take its CSSStyleSheet
argument by reference, instead of pointer to make it obvious to the caller
that passing null is not OK.
R=morrita@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176123
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|